This figure shows a Ruleset area in the Rules Designer. It shows an IF/THEN rule when the Advanced Settings checkbox Advanced Mode is checked. The IF/THEN rule is: IF (for each case where) <variable> is a <fact type> <insert test> <insert pattern> THEN <insert action>. The (for each case where) is selected to show a menu of pattern matching options that include: for each case where, there is a case where, there is no case where, and aggregate. The aggregate option is selected.