Logical expressions use AND (&) and OR (|) to define the relationship between a rule’s conditions.
Use logical expressions when you want to link the conditions in the following ways.
• You want all conditions to apply in order for the rule to initiate its action. Use AND (&) to link the conditions.
• You want any one of the conditions to apply in order for the rule to initiate action. Use OR (|) to link the conditions.
• You want to group the conditions. Using parentheses, you can create an expression such as 1 & (2 | 3).
If you do not use parentheses, AND always has precedence over OR, which determines the order of execution.