DecisionRule is a very powerful component with highly flexible programming structure, which can be used to build a mighty rule logic.
A DecisionRule object has 5 basic components as;
1. A condition
While running, the RulesEngine executes the PreConditionActionSet. Then it evaluates the condition and executes Success or FailureActionSet based on the condition result. Finally the PostConditionActionSet will be executed.
A Decision Rule is inheritable.
RuleSet is a set of one or more Decision Rules.