Generating rulesets

A ruleset is a set of rules and rule artifacts that is executed by the rule engine.

About this task

When you generate a ruleset, Decision Center first generates a version of the rules and rule artifacts that can be executed by the engine.

Important: You can generate rulesets only if you sign in with Configuration Manager permissions.

A ruleset is packaged in a ruleset archive file with the other resources necessary for it to be parsable by the engine. To select the artifacts to be put into the ruleset archive, you use a ruleset extractor, which filters the rules in the project. Ruleset extractors filter the rules in a project to yield only those needed for a particular run. In the absence of a ruleset extractor, the ruleset contains all the rules in the project. For more information on how to define custom ruleset extractors, see Creating a custom ruleset extractor validator.

Note: You can choose to execute your rules using either the classic rule engine, which is the default rule engine, or the decision engine. The build mode that defines the rule engine type is selected in Rule Designer, and synchronized with Decision Center. You can view the rule engine type defined in your project on the About page accessible from the top banner of the Decision Center Enterprise console.

With the default rule engine, rulesets are verified for accuracy and consistency when they are generated, according to the options described in Consistency check options. The decision engine does not perform these accuracy and consistency checks on the rulesets.

Procedure

To generate a ruleset archive:

  1. On the Project tab, click Generate Ruleset.
  2. Select the ruleset extractor to be used to generate the ruleset and then click OK.
  3. Click the link that displays the name of the ruleset archive file.
  4. In the File Download dialog, click Save and then specify where to save the file.

Results

You also create rulesets when you create RuleApps.