Questions tagged [rule-engine]

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code.

Rule engines

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code. They typically use a higher level declarative language (in contrast to the typical imperative paradigm of languages like Java and C++) and use specific algorithms for scalability and high performance. A good analogy is that Rule Engines do for business rules what databases do for data.

Resources

961 questions
20
votes
11 answers

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…
James Webster
  • 4,046
  • 29
  • 41
20
votes
4 answers

Rules Engine vs Expert System

What is the difference between a rules engine and an expert system? Example1: Let's say that I have a program that determines the expiration date of a new driver's license. It takes inputs like visa expiration date, passport number, birthday, etc.…
User1
  • 39,458
  • 69
  • 187
  • 265
19
votes
6 answers

Prolog web programming

At work, there was a discussion of using prolog as the backend for a rules engine on a web-app. How would this get tied into existing systems? Are there available prolog libraries for other languages allowing the invocation of prolog modules?
ikp
  • 243
  • 2
  • 5
18
votes
8 answers

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.
Kurt W. Leucht
  • 4,725
  • 8
  • 33
  • 45
17
votes
7 answers

How to design a rule engine?

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?…
Socratees
16
votes
7 answers

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#?
aku
  • 122,288
  • 32
  • 173
  • 203
15
votes
3 answers

Ruby & Rules Engines

I'm looking for a simple way to let users define a set of rules to filter objects. Eg. let them define something like "notify me about a booking if booking date < 2009/04/30 AND value > 100.00" More or less: I'd like to have a Ruby rules engine with…
Matt
  • 1,610
  • 2
  • 17
  • 24
15
votes
4 answers

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…
Robert Campbell
  • 6,848
  • 12
  • 63
  • 93
15
votes
5 answers

Rules Engines User Interface Design

At work, we have optimization engines, and one of the inputs used by these engines are business rules, which we create and edit with a proprietary rule editor. These rules are of our own proprietary format, because the existing rule engines were not…
bguiz
  • 27,371
  • 47
  • 154
  • 243
14
votes
6 answers

Execute action when entity matches user-defined query/filter/rule

Normally you write a query and get all the records (entities) that match it. I need to do the reverse. Let's say I have 1M customers with a couple dozen denormalized properties: public class Customer { public string Name {get;set;} public string…
Kyle West
  • 8,934
  • 13
  • 65
  • 97
14
votes
3 answers

What is an appropriate data structure and database schema to store logic rules?

Preface: I don't have experience with rules engines, building rules, modeling rules, implementing data structures for rules, or whatnot. Therefore, I don't know what I'm doing or if what I attempted below is way off base. I'm trying to figure out…
Jayson
  • 2,021
  • 3
  • 25
  • 26
14
votes
3 answers

What can Rules Engines accomplish?

What goals can be accomplished using a Rules Engine?
Rachel
  • 100,387
  • 116
  • 269
  • 365
13
votes
3 answers

When is a Business Rules Engine used

When is a Business Rules Engine used? What is the difference between Business Rules Engines and scripting/configuration/customization
flybywire
  • 261,858
  • 191
  • 397
  • 503
13
votes
2 answers

Expert/Rule Engine that updates facts atomically?

Atomically might not be the right word. When modelling cellular automata or neural networks, usually you have two copies of the system state. One is the current state, and one is the state of the next step that you are updating. This ensures…
AaronLS
  • 37,329
  • 20
  • 143
  • 202
12
votes
4 answers

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…
Dan Esparza
  • 28,047
  • 29
  • 99
  • 127
1
2
3
64 65