The conditions under which the <actions> of the enclosing <rule> are performed. The <conditions> are always specified in Conjunctive Normal Form (CNF) or Disjunctive Normal Form (DNF). As such, the content of <conditions> is either a disjunction of conjunctions specified by a (possibly empty) set of <and> elements or a conjunction of disjunctions specified by a (possibly empty) set of <or> elements. The <actions> of the enclosing <rule> are only performed when the logical expression represented in CNF or DNF evaluates to true or when no conditions are specified.
The evaluation of the conditions uses short-circuit logic so that no additional tests are performed when it is possible to determine the resultant Boolean value of the <conditions>.
All individual condition tests are represented by an element of the form <if-* op=“some operator”>.
Some condition tests have a mode parameter that indicates the algorithm to use for comparisons. The following table details the modes that are available.
See <policy>.
None
( and * | or * )