Rule names should be unique within their package, ruleflow group names are interpreted globally (so ruleflow groups with the same name in different packages are considered the same).
Multiple packages can be loaded into the same knowledge base.  Assuming you will be using Drools5, it should look something like this:
Collection<KnowledgePackage> pkgs = kbuilder.getKnowledgePackages();
KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();

final StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
Check out the latest Drools5 documentation for more information:
Rules are always identified as package name + rule name, so they can easily be differentiated.
----- Original Message -----
Sent: Monday, April 06, 2009 5:13 PM
Subject: [rules-users] Rule package/rule name/ruleflow-group question

I am new to Drools. I am not sure how rules should be organized using package.
My questions are:
1) Should rule name/ruleflow-group name be unique within the same package or globally?
2) Can multiple packages be loaded into workingmemory at the same time? if this true, then I have following quesitons:
    2.1 How to load multiple packages?
    2.2 How the rules have the same name but belong to different packages, are differieniated and fired?
Brian Xiang

rules-users mailing list