Setting the priority of a rule
You can set priorities on the rules of an agent to define the order in which the rules are executed.
About this task
The priority property determines in which order the actions of the rules are triggered. For example, when several rules react to the same event, you can define which rule actions must be triggered first if their conditions are met.
You define priorities using a constant. The default priority is 0. Therefore, if a rule is the only rule that requires a priority, you can set the priority to any positive value.