skip to main content
Corticon Studio: Rule Modeling Guide : Logical analysis and optimization : Validating and testing Rulesheets in Corticon Studio : Expanding rules

Try Corticon Now
Expanding rules
Returning to our original rules (reproduced from Simple Rules for Profiling Insurance Policy Applicants):
Figure 222. Simple Rules for Profiling Insurance Policy Applicants
As illustrated by the table in Rule 1 Expected Outcome, rule 1 (the age rule) is really a combination of two sub-rules; we specified an age value for the first Condition but did not specify a smoker value for the second Condition. Because the smoker Condition has two possible values (true and false), the two sub-rules can be stated as follows:
Corticon Studio makes it easy to view sub-rules for any or all columns in a Rulesheet. By clicking the Expand Rules button on the toolbar, or simply double-clicking the column header, Corticon Studio will display sub-rules for any selected column. If no columns are selected, then all sub-rules for all columns will be shown. Sub-rules are labeled using Decimal numbers: rule 1 below has two sub-rules labeled 1.1 and 1.2. Sub-rules 1.1 and 1.2 are equivalent to the upper left and upper right cells in Rule 1 Expected Outcome.
Figure 223. Expanding Rules to Reveal Components
As we pointed out before, the outcome is the same for each sub-rule. Because of this, the sub-rules can be summarized as the general rules shown in column 1 of Simple Rules for Profiling Insurance Policy Applicants. We also say that the two sub-rules collapse into the rules shown in column 1. The 'dash' symbol in the smoker value of column 1 indicates that the actual value of smoker does not matter to the execution of the rule – it will assign riskRating the value of low no matter what the smoker value is (as long as age <= 55, satisfying the first Condition). Looking at it a different way, only those rules with dashes in their columns have sub-rules, one for each value in the complete value set determined for that Condition row.