An L7 Rule is a single, simple logical test which returns either true or false.

Type: The L7 rule type. One of COOKIE, FILE_TYPE, HEADER, HOST_NAME, or PATH.

Compare Type: The comparison type for the L7 rule. One of CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, or STARTS_WITH.

Key: The key to use for the comparison. For example, the name of the cookie to evaluate.

Value: The value to use for the comparison. For example, the file type to compare.

Invert: When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to.