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.

Order rules alphabetically

In the rule project, you can sort rule artifacts alphabetically. Select your rule project in the Rule Explorer, and click Button for alphabetic ordering Sort Rule Artifacts.

You can display the rules in a project alphabetically without changing the order in which the rules run.

Note: The button remains active until you click it again.
BEFORE: Rules in random order AFTER: Rules in alphabetic order
Image shows rules in random order.
Image shows rules in alphabetic order.

Order rules manually

One of the ways of determining the initial rule order is to order them manually in the Rule Explorer. Drag each rule you want to move, and drop them over the new location.

Note: The Sort Rule Artifacts icon must be deactivated before you can use the drag-and-drop method. If it is activated, click it again to deactivate it.
BEFORE: Rules not in required order AFTER: ruleB moved to required position
Screenshot of rules ordered alphabetically, different from the required order.
Screenshot of rules reordered manually.