Configuring rule execution
You can notify the rule engine of changes in object states. You can also specify how
rules in a ruleset are run at run time by setting up the ordering, priorities, or overriding of
rules.
Updating object states in the rule engine
When rules are run with the RetePlus execution mode, you can control whether the rule engine is notified of changes in the state of objects in the working memory that result from rule execution. Notifying the rule engine of an object state change causes the rules to be matched against the new state, and can result in new rule instances being added to the agenda.
Ordering rules in a ruleset
The order in which rules are presented in the ruleset affect the order in which they are placed in the ruleset archive during the final packaging of the ruleset for execution. You can sort rules alphabetically, or manually.
Setting simple priorities among rules
Rules have priorities, which can be static or dynamic. Use a constant to define a static priority, or an expression containing a ruleset variable to define a dynamic priority.
Rule overriding
Rule overriding is the last selection mechanism after ordering and priorities. Overridden rules are not selected for execution. You can combine rule overriding with the hierarchical property.