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
9
votes
2 answers

Drools disable a rule at runtime

I'm starting a project whith Drools and Drools Guvnor. My rules are deployed in drools guvnor. My rule engine instance can access those rules via the pkg file exposed by drools Guvnor when you do a package release build and release. This is all…
Frederic Close
  • 9,389
  • 6
  • 56
  • 67
8
votes
1 answer

could drools reason over data stored in a relational database (using HIbernate for example)

i have to achieve an application with drools but, it appears that DROOLS can not reason over a big number of objects simultaneously. i want to know if it could reason over data stored in a relational database and not in the workingMemory. thanks for…
fennou
  • 95
  • 1
  • 5
8
votes
2 answers

Out of Core Rules Engine

Are there any implementations of production rule systems that operate out of core? I've checked out the open source implementations like CLIPS and Jess, but these only operate in memory, so they tend to crash or force heavy disk swapping when…
Cerin
  • 60,957
  • 96
  • 316
  • 522
8
votes
7 answers

Creating a DSL expressions parser / rules engine

I'm building an app which has a feature for embedding expressions/rules in a config yaml file. So for example user can reference a variable defined in yaml file like ${variables.name == 'John'} or ${is_equal(variables.name, 'John')}. I can probably…
ed1t
  • 8,719
  • 17
  • 67
  • 110
8
votes
2 answers

Azure CDN Rule Engine

I host and html site in Azure CDN (under a with Premier paid Plan) so it gives me a Rules engine, which gives a lots of features to control the flow. I would like to have URL redirect and URL rewrite Azure CDN rules, please. Example: Given a site…
Raghavendra
  • 1,419
  • 4
  • 19
  • 28
8
votes
2 answers

Building an Inference Engine in Python

I am seeking direction and attempting to label this problem: I am attempting to build a simple inference engine (is there a better name?) in Python which will take a string and - 1 - create a list of tokens by simply creating a list of white space…
Art
  • 1,027
  • 1
  • 12
  • 21
8
votes
4 answers

Most flexibilities rule engine for .NET

My upcoming project is relate to sales system, so one of the main requirement is "user can modify promotion by themselves". Promotions is vary, they give me some of them. Buy 1 get 1 free, Buy 2 get 3. One for 30%, two for 50%, three for 80% Buy…
Anonymous
  • 9,366
  • 22
  • 83
  • 133
8
votes
1 answer

Implementing Rule Engine in Rails Application

I want to implement Rule Engine on my Rails 3.2 application which has a complex pricing logic,I want to transform the conditions in pricing logic to rules, and use them.I am creating an entirely new application for this purpose. I googled alot in…
vishB
  • 1,688
  • 2
  • 17
  • 23
8
votes
4 answers

Prefered methods for interacting with a rules engine

I am about to dive into a rules oriented project (using ILOGs Rules for .NET - now IBM). And I have read a couple different perspectives regarding how to set up the rules processing and how to interact with the rule engine. The two main thoughts I…
Andrew Siemer
  • 10,166
  • 3
  • 41
  • 61
7
votes
0 answers

Rules Engine vs CEP

Scenario: The end user wants to define actions on set of data change events that happen within the system. These actions should be configurable. I have few questions regarding it below: My first questions is how can we monitory data changes & raise…
Rajat Mehta
  • 201
  • 3
  • 14
7
votes
4 answers

Best approach to construct a real-time rule engine for our streaming events

We are at the beginning of building an IoT cloud platform project. There are certain well known portions to achieve complete IoT platform solution. One of them is real-time rule processing/engine system which is needed to understand that streaming…
7
votes
1 answer

Using drools expert with dynamic decision tables

Here's what I had like to do. I had like to put "rules" in a database table. This is sort of like the drools xls decision table format except that all the rules will be rows in a table. This way I can modify the rules easily . I need to put this in…
Zenil
  • 1,491
  • 3
  • 12
  • 21
7
votes
6 answers

Inference engine to calculate matching set according to internal rules

I have a set of objects with attributes and a bunch of rules that, when applied to the set of objects, provides a subset of those objects. To make this easier to understand I'll provide a concrete example. My objects are persons and each has three…
Zecrates
  • 2,952
  • 6
  • 33
  • 50
7
votes
3 answers

Which knowledge base/rule-based inference engine to choose for real time Runway incursion prevention system

we are designing a project that would listen to dialog between airport controllers and pilots to prevent runway incursions (eg. one airplane is taking off while other is crossing the runway). Our professor wants us to use Jena for knowledge base (or…
Denis Tulskiy
  • 19,012
  • 6
  • 50
  • 68
6
votes
3 answers

Is there a flexible promotion & discount rules engine?

Company I'm working with is looking to implement a flexible and extensible promotion/discount engine for their e-commerce store. Requirements for promotions & discounts change very frequently and business is unable to predict what sort of ideas and…
Igorek
  • 15,716
  • 3
  • 54
  • 92