interface Rule {
    action: _RuleAction;
    condition: _RuleCondition;
    id: number;
    priority?: number;
}
Index
action: _RuleAction

The action to take if this rule is matched.

condition: _RuleCondition

The condition under which this rule is triggered.

id: number

An id which uniquely identifies a rule. Mandatory and should be >= 1.

priority?: number

Rule priority. Defaults to 1. When specified, should be >= 1