rule (in ruletask)

The rule keyword sets a single rule as eligible for execution.

Purpose

This keyword is used in rule tasks to set a single rule as eligible to be executed.

Context

Rule tasks

Syntax

ruletask ruleTaskName 
{
    firing = allrules|rule; 
};  

Description

The value that follows the firing keyword indicates whether all rules are executed (allrules, the default) or whether only one rule is executed (rule). When the firing value is set to rule, it means that all instances of the first eligible rules are executed.