As far as I know, the parser does not check the number of rules in a DRL
Maybe you could do something like this:
(i) use a KnowledgeBuilder to load the DRL resource;
(ii) before you add the packages to the knowledgeBase, iterate over
kBuilder.getKnowledgePackages() to find the package generated from your DRL;
(iii) use getRules().size() on the package to check if the number of rules
exceeds your desired threshold
D.
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-rule-limit-tp3394660p339827...
Sent from the Drools: User forum mailing list archive at
Nabble.com.