Rules can be split into as many different files as you feel appropriate; although each will needed to be loaded into the KnowledgeBase.

The "package" keyword allows you to logically groups rules too; like Java's package statement.

2010/10/10 Modha Khammammettu <modhakumar@gmail.com>
Hi
 
I just started on drools. I am looking at rule files that some one wrote.
I see that rule files that I have thousands of lines of drools code. Is it that all drools need to be dumped into one file. Is there a way that rules can be organized into multiple drools files (just like classes in a java package)
 
Any pointers are appreciated.
 
Thanks
MK

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users