are_and_rules_violated

Detects whether any of a list of rule expressions is violated.

Parameters

rules

the rules to check.

variables

the state to check the rules against.

See also

rule_expression

for an explanation of rule violation