rule-engine

What rule engine should I use?

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. ...

Open source rules engine with decent interface for writing rules

I'm trying to locate an open source business rules engine that has a decent interface for building the rules. OR at least one that works well on the .Net platform and has been updated sometime in the past 12 months. Thanks, ...

Example of c# based rule language?

Can you provide a good example of rule definition language written in C#. Java guys have JESS, is there anything good for C#? ...

How to design a rule engine?

Hi, I'm supposed to create a simple rule engine in C#. Any leads on how I can proceed?. It's a minimalistic rule engine, and would use SQL server as the back end. Do we have any general blueprint or design patterns that generally apply to rule engines? What kind of .Net technologies can I use to design one? Any directions would be helpfu...

Has a system that incorporated a rule engine ever been TRULY successful?

Our system (exotic commodity derivative trade capture and risk management) is being redeveloped shortly. One proposal that I have heard is that a rule engine will be incorporated to make it easier for the end-users (commodities traders, so fairly sophisticated) to make certain changes to the business logic. I am a little skeptical of ru...

Looking for simple rules-engine library in .NET

Hi, Does anyone know of a good .NET library rules library (ideally open-source)? I need something that can do nested logic expressions, e.g., (A AND B) AND (B OR C OR D). I need to do comparisons of object properties, e.g., A.P1 AND B.P1. (Ideally, I could compare any property -- A.P1 AND B.P2). It should store the rules in a data...

Boolean logic rule evaluator

I have essentially a survey that is shown, and people answer questions a lot like a test, and there are different paths, it is pretty easy so far, but i wanted to make it more dynamic, so that i can have a generic rule that is for the test with all the paths, to make the evaluator easier to work with currently i just allow AND's, and ea...

Rules Engine - pros and cons

I'm auditing a project that uses what is called a Rules Engine. In short, it's a way to externalize business logic from application code. This concept is entirely new to me and I'm pretty skeptical about it. After hearing people talk about Anemic Domain Models for the past few years, I'm questioning the Rules Engine Approach. To me the...

Can anyone point me at a good example of pretty printing rules to "english"

I've got the equivalent of an AST that a user has built using a rule engine. But when displaying a list of the rules, I'd like to be able to "pretty print" each rule into something that looks nice**. Internally when represented as a string they look like s-expressions so imagine something like: (and (contains "foo" "foobar") (equals 4...

Extensible rule-based pattern

I control access to some of my static web resources with some PHP logic. Because directory-based authorization through the webserver is not suitable or easily possible. A combination of things determines whether access is granted or denied. And these rules change from time to time. In the beginning it was a simple regex path match, a...

Problem writing LHS of Drools / JBoss Rules where I'm matching one fact and then using that fact to determine whether another fact exists

I'm using Drools (for the first time) to express some rules and it has been working really well so far. However I've been given a new condition that I'm not able to express in the rules language very clearly. Essentially I need to perform an action on the players account if they have an outstanding balance on there account between a cer...

Where can I get started learning about Rule Engines?

I'm currently designing a Java application where a Rule engine could be useful. Where is a good place I can learn about how to use them, how they work, how to implement them, see samples, etc.? ...

Java Rule Engine for Game AI

I would like to use a rule engine for my game. It will be used for NPC AI, and GM AI. What might be a good and fast Rule Engine for this purpose ? It must be Java and Open Source. I would like to hear from people who have used Java Rule Engines for Artificial Intelligence about their experience. ...

Space-based architecture?

One chapter in Pragmatic Programmer recommends looking at a blackboard/space-based architecture + a rules engine as a more flexible alternative to a traditional workflow system. The project I'm working on currently uses a workflow engine, but I'd like to evaluate alternatives. I really feel like a SBA would be a better solution to our b...

C#: Grammar rules engine for English?

I'm looking for something that may or may not exist. Is there such a thing as an 'English grammar rules engine' available on the Windows platform (specifically for something like .NET or C#)? Specifically, I'm looking for something that would be able to take a sentence in the 'future tense' and change it to the 'past tense' (based on E...

PHP: Outlook style rule engine

I am trying to construct a rule-based system for interpreting data. However, I am having issues deciding on a way to construct the logic for storing and interpreting rules. Currently, there is a database structure that quite complex, but will deal with all aspects of storing the rule data. The idea is that the system will be able to mim...

Is there a good way to check rules against n columns?

Suppose you have a table RULES with 3 columns A, B, and C. As data enters the system, I want to know if any row of the RULES table matches my data with the condition that if the corresponding column in the RULES table is null, all data matches. The obvious SQL is: SELECT * FROM RULES WHERE (A = :a OR A IS NULL) AND (B = :b OR B IS NUL...

how can i build rule engine which can execute user defined if else rules in C#.net

hi I have requirement to build new rule engine in which i have rule like this which is stored in Excel sheet, in tabular format. <If> "Name = Nita " <Value> "200" <else> "Name = Gita" <value> "300" <LookInto> "/Name/@Income" I have two files say 1 n 2. i need to see in first file that whether Name is Nita or Gita. Based on executio...

When should you NOT use a Rules Engine?

I have a pretty decent list of the advantages of using a Rules Engine, as well as some reasons to use them, what I need is a list of the cons of why you should NOT use a Rules Engine The best I have so far is this: "Rules engines are not really intended to handle workflow or process executions nor are workflow engines or process managem...

Criteria to Evaluate Business Rules Engines

We are shopping for Business Rules Engines. We want to make our core application customizable to different customers with slightly different requirements. The people who would actually do the customizations are analysts. I.e. non-programmers who are technically skilled (usually have a degree in sciences). What are the criteria to evalua...