Rule folders are similar to the directories that divide a computer's hard drive in that they split a large number of files into conceptual units. The rule folder adds its path to the fully qualified rule name. Like the directories on a hard drive, a rule folder can contain any number of rules or rule folders.
Although you can name the folders whatever you deem appropriate, it is recommended that you follow the Java package naming convention. That is, base the names on the domain name of the organization where the rules are developed. So, the fully qualified rule name or full rule name of ACME's isSeniorCitizen might be com/acme/ageRules/isSeniorCitizen. In this example, the com/acme path is used by all of the rules developed by ACME and the ageRules folder is used to separate "age" rules from rules of other kinds.
Note: The root folder has no name, which means that fully qualified path names never start with a '/'.
When using the Rule Management APIs, a rule folder contains instances of IRules, which also are referred to as "rules". To begin working with rules, get the root rule folder by using the getRootFolder method on RuleMgmtHelper class. From the root rule folder you can add, delete, and retrieve folders and rules using methods on this interface.