ILOG JRules User Guide > Orchestrating Ruleset Execution > Concepts > Rulesets and Ruleset Archives

Rules relating to a given decision are organized for execution and stored in a ruleset. A ruleset is a standalone, executable container that corresponds to a decision. It contains a set of rules and rule artifacts that will be executed by the rule engine.

You package rulesets into a ruleset archive. A ruleset archive contains a technical language version of the rules and rule artifacts, and all the supporting data necessary to execute a ruleset. . These include the JRules representations of the rules, functions, and ruleflows themselves as well as the supporting JRules files such as BOM, XOM and BOM to XOM mapping.

In order to be deployed, rulesets need to be packaged into a RuleApp. A RuleApp is a 'container', a deployable management unit that contains one or more rulesets. RuleApps should normally contain rulesets that share the same object model.

Ruleset Components

A ruleset may include the following artifacts:

Ruleset Archive Components

You create the ruleset archive from one or more rule projects. Multiple projects are set with the Rule Project Dependencies property for the main project. Rule Studio provides a ruleset extraction facility that enables you to filter only those rules in a project that you want placed in a ruleset archive for subsequent execution.

A ruleset archive contains the rule artifacts and all the supporting data necessary to execute a ruleset, including:

Ruleset archives are created as a JAR file, which you can examine:

When you open the JAR file you will see all the rules included in the archive as IRL files. The JAR files also contains the BOM file for the project, plus additional BOM files if the project refers to other projects, and other ruleset archive components.

Related Concepts

Ruleset Parameters
Ruleset Extraction

Related Tasks

Extracting Artifacts to be Put in a Ruleset
Exporting a Ruleset Archive
Building and Running
Defining a Dynamic XOM

Related Reference

Engine Execution Modes
Ruleflow Editor
Export Ruleset Archive Wizard

Related Samples And Tutorials

Tutorial: Creating Your First Ruleflow
Tutorial: Creating Business Rules
How to Extract a Ruleset Archive
How to Extract a Ruleset from a Rule Project
How to Select Rules to be Executed
How to Handle Multiple Projects