About rule contexts
Rules are said to run in the context of the item they are evaluating or calculating and all items on whose values the rule script depends. A rule context answers the questions:
- What item does the rule run against?
- What values are substituted in the rule when it runs against this item?
- What other values does the rule need to run, and what items are those values found in?
By separating the definition of a rule from the specification of the item it runs against, contexts give you the flexibility to associate the same rule with many different items.