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

2. PreCondition-ActionSet

3. PostCondition-ActionSet

4. Success-ActionSet

5. Failure-ActionSet

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.