Can I ask why do you need a rulebase? KnowledgeBase is the wrapper of RuleBase.
KnowledgeBase belongs to drools-api and gives you the certainty that it interface is not going to suffer big changes in the future.
By using RuleBase, you are using a drools internals class.

Best Regards, 

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Thu, Jan 12, 2012 at 1:51 PM, srinivasasanda <srinivasasanda@gmail.com> wrote:
Hi Esteban,

Thank you so much for ur quick response.I'm using Drools 5.2.And Through
KBase I'm successfuly adding the Packages.But,I need to add it for
RuleBase.Even if through above code as I described earlier,RuleBase is
returning null.

Thanks

--
View this message in context: http://drools.46999.n3.nabble.com/How-to-add-Packages-to-RuleBase-tp3653477p3653510.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users