What rule engine should I use? [closed]
Asked Answered
R

8

18

What are some of the best or most popular rule engines? I haven't settled on a programming language, so tell me the rule engine and what programming languages it supports.

Rehearing answered 9/8, 2008 at 4:34 Comment(1)
You can try to look at our newly released Gandalf (gndf.io). It's a open-source decision engine that allows you to define any rules on any data model, and use them as decision tables or for scoring your clients. It's build on top PHP Laravel framework and stores data in MongoDB.Timer
S
10

I am one of the authors of Drools, I will avoid pimping my wares.

But some other options are Jess (not open source) but uses the clips syntax (which we also support a subset of) - which is kinda a lisp dialect.

It really depends what you want it for, Haley have strong Natural language tech (and they recently aquired RuleBurst - who has also interesting natural language tech which could deal with word documents with embedded rules - eg legal documentation). RuleBurst was able to target .Net runtimes as well (there is a Drools.net "port" available as well - I haven't seen what it has been up to lately, alas, not enough time). Ok I will put my pimp bling away now... sorry about that.

Sporades answered 19/8, 2008 at 6:51 Comment(0)
B
4

Depending on what your requirements are, Windows Workflow Foundation (.NET 3.5) might be worth having a look at.

The .NET rule engine InRule supports WF and BizTalk; I've not tried it though so don't know if it's any good.

Buttaro answered 19/8, 2008 at 6:57 Comment(0)
C
2

I have a bit of experience with both Haley Expert Rules and Haley Office Rules. Both nice systems, but I'd need to know a bit more abut what you want to use them for to answer definitively (See http://www.haley.com)

They both support C# and Java (and I think also a web service api).

The difference between the two is mostly around how much natural language modelling you want to get into. Office rules lets business users write rules in an Office document, and is mostly focused around legislative requirements modelling. Expert rules can be a bit more flexible in definition how it handles natural language, but requires more work defining language structures up front.

Hope some of that helps.

Coppice answered 9/8, 2008 at 5:1 Comment(0)
K
1

We've used both http://jatha.sourceforge.net and http://www.jboss.com/products/rules. They're both pretty good, but for the most part, JBoss rules seems to me to be overkill for a lot of what people do. They're both Java based.

It's worth remembering Greenspun's Tenth Rule of Programming and skip ahead to importing it :)

Kindig answered 12/8, 2008 at 16:59 Comment(0)
A
1

Inrule see website is very good!

it is a .NET based rule engine with a solid SDK and a nice UI for non technical users. Worked great for me in past - pretty much cut my development cost in half.

Ashleeashleigh answered 15/1, 2010 at 20:58 Comment(0)
P
1

I found another rule engine that supports different kinds of rules; Procedural, Inference (RETE) and FlowRule. This is quite flexible and extensible rule engine (also event driven). They had express version as free edition while ago.

Take a look at http://www.flexrule.com

Parthenope answered 21/10, 2010 at 23:13 Comment(0)
B
1

For very well understood, procedural rules (like eligibility rules, insurance rules, audit rules, etc.) then simple decision tables with a Domain Specific Language can give you the performance and simplicity without the overhead of RETE based engines.

A Java open sourced rules engine of this sort can be found at DTRules

Bouldin answered 14/1, 2011 at 21:29 Comment(0)
G
0

WF is available already in .net 3.0. It is a bit buggy though on the Designer-side in Visual Studio and can get quite messy. I use it on Sharepoint (where WF is pretty much your only option anyway) and overall I am quite satisfied with it, even though the learning curve is rather steep.

Foundations of WF is a good book to start with it, as they implement a complete solution from beginning to the end and explain the concepts behind it.

Golconda answered 19/8, 2008 at 7:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.