Extracting Business Rules Manually

The following instructions describe how to assign a rule segment at the same time as you create a rule. You can also assign a segment after creating a rule.

  1. In the Source pane, select the segment you want to assign to a business rule. In the Rules pane, select the business function or rule set (if any) for the new rule, then choose Create Rule in the Rules menu. The Create Business Rule dialog opens.
    Tip: You can select a code segment as construct or text. Select a segment as text when you want to select either more or less code than a construct contains. To select a segment as text, click-and-drag from the first line of the segment to the last line of the segment. The segment is highlighted in blue. To select a segment as construct, click inside the construct in the Source pane. The segment is highlighted in yellow.
  2. In the Business Function drop-down, select the business function for the rule. The current business function is displayed. To create a new business function, click New, then follow the instructions for creating business functions.
  3. In the Rule Set drop-down, select the rule set for the rule. The current rule set is displayed. To create a new rule set, click New, then follow the instructions for creating rule sets.
  4. Specify the rule's attributes:
    • In the Name field, enter the name of the rule.
    • On the Business Description tab, enter the business description for the rule.
    • On the Technical Description tab, enter the technical description for the rule.
    • On the Attributes tab, specify the remaining attributes of the rule.
  5. Click OK.