Rule Types

Policy Modeling supports the following rule types: 

  • Boolean rules – a Boolean rule is a rule where a Boolean attribute is proven by a condition. For example, 'the ice-cream will melt if the ice-cream has been left in the sun'. For more information, see Walkthrough of Creating a Word Rule.
  • Assignment rules – an assignment rule is a rule where an attribute is assigned a particular value. For example, 'the cost of the movie ticket = $10'. For more information, see Use constant values in rules.
  • Table rules – a table rule is a rule written in table format in order to infer an attribute to a different value in different situations. For more information, see Prove Conditional Calculations In a Rule Table.
  • Shortcut rules – a shortcut rule is used to capture implicit logic that does not automatically flow from the source rules. Shortcut rules only participate in the inference cycle and do not participate in the question search. One of the key purposes of shortcut rules is to stop nonsensical or unnecessary questions being asked. These are the only rules which do not require an alternative conclusion. For more information, see Capture Implicit Logic In Rules.
  • Warning and error event rules – event rules fire a warning or error in an interview. These are commonly used to control screen inputs (such as warning the user they have entered conflicting data). For more information, see Validate use input using warnings and errors.