механизм вывода для показателей производительности (inference engine for performance metrics)
RULESETS
The ruleset clause is used to define a set of rules and actions
that are evaluated in order until some action is executed, at
which point the remaining rules and actions are skipped until the
ruleset is again scheduled for evaluation. The keyword else is
used to separate rules. After one or more regular rules (with a
predicate and an action), a ruleset may include an optional
unknown -> action
clause, optionally followed by a
otherwise -> action
clause.
If all of the predicates in the rules evaluate to unknown and an
unknown clause has been specified then action associated with the
unknown clause will be executed.
If no rule predicate is true and the unknown action is either not
specified or not executed and an otherwise clause has been
specified, then the action associated with the otherwise clause
will be executed.