Example: Use the Rule Assistant to Create a Rule Using the ALL Connector

The Rule Assistant in Word can be used to easily create a rule using the 'all' connector. In this example we are going to create a rule of the format A if (B and C) or D. In this rule the 'all' operator is used to group the conditions separated by 'and'. To do this:

  1. In a Policy Modeling project, on the Rules tab, double-click a Word rules document. The Rules document opens in Word.
  2. On the Oracle Policy Modeling ribbon, click the Rule Assistant button.

    The Rule Assistant button on the Oracle Policy Modeling ribbon in Microsoft Word.
  3. In the box provided, type a rule conclusion. For example, "the person is exempt". (This is the A in our rule.)
  4. Double-click the Create Boolean rule option.

    Using the Rule Assistant in Word to add a conclusion and specify that it is part of a Boolean rule

    You will notice that the conclusion has been added to the Word document and a condition line has been added.
    Word document showing a conclusion created with the Rule Assistant
  5. In the box provided in the Rule Assistant, type the rule condition representing B in our rule. For example, "the person is sick".
  6. Double-click the Accept condition and add another option where the conditions are connected by 'or'.

    Using the Rule Assistant in Word to add a condition and specify that another condition connected by 'or' is required

    You will notice that the condition has been added to the Word document and that an 'or' has been added after it. An additional condition line has also been added.
    Word document showing a condition created with the Rule Assistant and another condition, connected by 'or' ready to be added
  7. In the box provided in the Rule Assistant, type the rule condition representing D in our rule. For example, "the person is unemployed".

    Using the Rule Assistant in Word to add a condition

    Press Enter.
    Rule created using Rule Assistant in Word where conditions are connected by 'or'
  8. Click the Rule Assistant button. Use the up arrow in the box provided to move to the condition representing B (for example, "the person is sick") in our rule. This will open the box of options for the various rule types.

    Using the Rule Assistant in Word to insert an additional condition into an existing rule

  9. Double-click the Accept condition and add another option where the conditions are connected by 'and'. You will notice that an 'and' has been added after the condition and an additional condition line has been added. Furthermore, the conditions are now preceded by an 'all' grouping operator. Also, the 'or' in the rule has been moved to a separate line.
    Word document showing a condition created with the Rule Assistant and another condition ready to be added, as well as the automatic inclusion of an 'all' operator
  10. In the box provided in the Rule Assistant, type the rule condition representing C in our rule. For example, "the person is poor".
    As this is the final condition in our rule, press Enter (instead of selecting an option from the rule list). The rule, in the format A if (B and C) or D and using 'all' to replace the brackets, is now complete.
    Word document showing a complete rule created with the Rule Assistant using the grouping operator 'all'