With the use of XML entities it is possible to have a master DRL file that includes the contents of several other DRL files, so if you have a huge ruleset, this will allow you to divide those rules up into several smaller files.
The following example will hopefully clarify things. We have one master and two (can be more, of course) DRL files:
Master is master.groovy.drl.
While each of the other files contains several rules (they are grouped arbitrarly and note that there is no <rule-set></rule-set> ... just plain <rule></rule>!):
block1.groovy.drl
block2.groovy.drl
In your Java code, you would then simply do something like this:
Thanks go to Mario Scalas for this FAQ entry.
