Varnit,
There are initiatives out there on standardizing rules languages (RIF,
RuleML, etc) but AFAIK there is no real support for them yet, neither from
Drools, nor from JRules side. Mark did worked with someone from iLog (at
that time, IBM now) and implemented a proof of context once for the RuleML
conference proving it is possible to do it with limited functionality, as
RIF is still the minimum common denominator among engines/languages, but if
you go that route, it would still require quite a work I imagine.
Your best bet IMO is to make your application generate a common
canonical model that can then be used to generate both DRL and IRL rules and
deploy them on their respective engines. Drools has such a model
(represented by our *Descr classes) if you want a starting point. If you
want to take the next step and work with us in an IRL parser for Drools, you
would be able to roundtrip DRL <-> IRL automatically, but that would require
a bit more effort.
Edson
2010/6/29 Varnit Khanna <varnitk(a)gmail.com>
Hi,
What will be the best way to achieve the following: We are trying to
create a simple web based interface which will allow our marketing
team to create rules and then deploy them to either jrules or drools
(depending on the client).
Is there some standard "rules language" or library available to achieve
this?
Thanks,
VK
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @
www.jboss.com