"Rewrite" opens a very wide range of possibilities. Modifying compiled rules is tricky, and it's in the "unstable" part of the API. But there might be other options. Can you be more specific what you mean by "rewrite"? -W
On 9 February 2011 15:06, jwillans2 <[email protected]> wrote: > > Hello, > > We have a rule set that need to be rewritten before being loaded into the > knowledge base. The rewrite can only be determined by data known at > runtime. Currently we can achieve this by performing string subsitutions > on > the rules, however I'd like to explore more efficient (and less clumsy) > ways > of doing this. > > It looks like rule templates could be a less error-prone way of achieving > the same end through the use of place holders, but it still requires for > the > resultant rule strings to be recompiled. I was wondering whether it is > practical to store the rules in compiled form, and then perform the > rewriting on the loaded data structures? Any suggestions and/or experience > of techniques would be very welcome. > > Thanks, > > James > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/Rewriting-rules-tp2458626p2458626.html > Sent from the Drools - User mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
