Change the Order of Rules in a Rule Set

There are two ways to change the order of the rules in a rule set. You can move a single rule to a new position, and SAS Business Rules Manager adjusts the position of the remaining rules in the rule set. Alternatively, you can swap the position of two rules, and SAS Business Rules Manager leaves the remaining rules in their original positions.

Move a Rule to a New Position in a Rule Set

Note: If you move a rule that uses the ELSE or OR operator to position 1 in the rule set, the operator is changed to IF.
To move a rule:
  1. Right-click on the order number (in the horizontal and vertical views) or on the rule name (in the list view) of the rule that you want to move, and select Reorder. The Reorder the Rule window appears.
  2. Select the new position number for the rule.
  3. Click OK. SAS Business Rules Manager moves the rule to the new position and repositions the remaining rules up or down as needed.

Swap Two Rules

Note: If you move a rule that uses the ELSE or OR operator to position 1, the operator is changed to IF.
To swap the position of two rules:
  1. Right-click on the order number (in the horizontal and vertical views) or on the rule name (in the list view) of one of the rules that you want to move, and select Swap. The Swap the Rule window appears.
  2. Select the position number for the second rule that you want to move.
  3. Click OK. SAS Business Rules Manager swaps the positions of the two rules and leaves all other rules in their original positions.
Last updated: February 22, 2017