ILOG Rules for .NET User Guides > Rule Studio > Storing and Sharing Rules > Synchronizing Rules Between Rule Studio and Rule Team Server

The synchronization mechanism has two main phases:

The first time you publish a rule project the target is initialized. The target can be either SharePoint or the file system. In both cases, the final structure is the same. Every rule artifact is stored into an Office document:

Rule artifacts are also sorted according to the package structure. Each rule artifact in a package is stored in the same document, and each sub-package is stored into a folder in SharePoint or in a directory in the file system. This ensures that the hierarchy in Rule Studio is maintained throughout.

For example, the following hierarchy in Rule Studio:

Package1
      |
      |--- Package11----BusinessRule2
      |
      |---BusinessRule1
Package2
      |
      |---BusinessRule3
BusinessRule4

will generate the following during publication:

The following criteria apply:

The RuleDoc name is generated automatically, based on the Package property and the type of rule artifact it contains. For example, if all the rules, ruleflows, and decision tables in a rule project belong to the Price package, the RuleDocs would be named as follows:

This is true after the first publish, but you can rearrange the rules across the RuleDocs, so this might not remain true after the RuleDocs are edited outside of Rule Studio.

The documents contain everything you need to edit or deploy the rule artifacts. In other words, they contain the rule artifacts, the ruleset parameters, the user schemas, and the Business Object Model (BOM). The vocabulary used by the rule editors is created from this data. Only rule artifacts can be edited outside of Rule Studio. The BOM, ruleset parameters, and the user schemas are read-only resources.

Note
When you publish to Rule Team Server for SharePoint in a language other than English the business rules you publish appear in the selected language. However, the parts of the business rules that refer to basic objects (Int, Boolean, and so on) and their methods are localized according to the version of the system business object model on the SharePoint server. This means that there can sometimes be a mismatch between the language you select for publishing and the language used to display the business rules in Rule Team Server for SharePoint.

See Also

Publishing a Rule Project | Updating a Rule Project | Publish and Update Actions