Rule

Rules are lower-level processing capabilities that are bound to the objects in the application’s document hierarchy. They are run on demand when Rulerunner opens or closes objects as it walks through the document hierarchy at run time.

For example, imagine a ruleset that is called Enhance, which skews and removes smears. If the Enhance ruleset is configured as one of an application’s rulesets, the rules of the Enhance ruleset are run every time that a page is opened.

The rules within a ruleset run only when they are mapped to specific objects of the document hierarchy. In addition, they run only when the ruleset they belong to is included in the task profile that is being run. Rules in a ruleset are run in order, according to the following criteria:
  1. The order in which the parent ruleset appears in the task profile
  2. The processing sequence of the objects in the runtime document hierarchy

For example, you cannot check the integrity of a document before you create the document. So, the CreateDocs ruleset must come before the Document Integrity ruleset.