ILOG JRules User Guide > Customizing JRules > Concepts > Rule Model > Rule Model Extension Schema

You can define rule model extensions to create a new type of rule artifact or rule package, or to add properties to existing rule model classes.

You can also insert your own code, at specific extension points: for example, to hide a specific property, or to call some code after a property value is changed.

Rule Model

Extension Schema

You define rule model extensions with XML files. The main XML file is the extension model file, which defines the structure of the extension. You can associate an extension data file to the extension model file, which defines the values of enumerations or hierarchies. You then need to register these files in Rule Studio and Rule Team Server.

Two schemas are provided to define the structure of your extension model and data files:

Default Extension Model

Extension model and data files are provided by default. You can use the content of these files as the basis for your custom rule model extension files.

In these files, the following properties are set:

Table 1 Default Extension Model
Rule Model Class 
Property 
Type 
Values (defined in the extension data file) 
Rule 
effectiveDate 
Date 
expirationDate 
Date 
status 
Status 
new, defined, validated, rejected, deployable 
BusinessRule 
priority 
String 

The properties of Rule and BusinessRule are put into the ruleset when you extract it.

Related Concepts

Rule Model

Related Tasks

Defining Common Model Extensions for Rule Studio and Rule Team Server

Related Reference

Rule Team Server Database Schema
Rule Model Extension Editor

Related Samples and Tutorials

Rule Studio Business Rule Management Extensions
Rule Team Server Business Rule Management Extensions