Combine multiple rules using logical operators
mainRules are also propositions, meaning you can combine them using logical operators to create complex logic (often called "MEGARULES").
Logical Operators:
logicalNot($rule): Negates a rule.logicalAnd($rule1, $rule2, ...): True if all rules are true.logicalOr($rule1, $rule2, ...): True if any rule is true.logicalXor($rule1, $rule2): True if exactly one rule is true.