ANN: ruleCore - The event pattern detector engine

Skip to first unread message


Nov 9, 2003, 2:43:17 PM11/9/03
I would hereby like to announce that ruleCore 1.0beta6 is available
under the GPL license from

ruleCore is an event-driven reactive rule engine with GUI tools,
all written in Python.

The ruleCore Engine accepts events with XML-RPC and detects
complex patterns of events, called situations. A situation is
defined by combining events with different kind of nodes, such as
logical or timer nodes.

For example, ruleCore can do things like:
"Detect the situation, if it is not december, when event HOST_DOWN
comes after event ROUTER_DOWN and event FAILOVER does not come
within 10 minutes"

When a situation is detected a condition can be evaluated on all the
events that took part in the detection process. If the condition is
true an action is executed, normally a script.

The ruleCore Engine is written in completely in Python. The GUI tools
are also in Python and uses Qt with the PyQt wrapper. Everything is
tested on recent versions of SUSE and RedHat. The rpm contains
*everything* needed to run ruleCore, so it should run on most Linux

Portability to Windows and Mac is a goal, but not tested yet. But as
everything is in Python it should run provided that all the required
software is installed. Although this is left as an exercise to the
interested reader.

The ruleCore Engine is based on ideas from the research done on active
rules called Event-Condition-Action (ECA) rules. Google on ECA-rules or
check the references section on to learn more about
this type of event-driven active rules.



Nov 11, 2003, 8:54:58 AM11/11/03
Marco wrote:

Interesting concept. Where millisecond reaction time is not important it
could even be considered 'realtime'. I've been working on a process
control project and needed a Linux solution. There is an entire, well
developed industry surrounding process control, standardized on the
EN 61131-3 or IEC 1131-3 language description.
Here is an example of industrial process control:
The language defined above is used to program process controllers one of
four methods, two graphical, and two using scripts.
Here are some Linux based solutions:
Here is a Linux program that utilizes one of the graphical methods, called
I think you'll see the strong similarities between your rule engine and the
classic ladder, as shown by the snapshots of the engine at work.




Nov 12, 2003, 2:13:56 AM11/12/03
Yes, I can imagine that there are lots of events in an industrial
process control setup. I suppose all these events could be fed into ruleCore
and there it could detect all kinds of interesting patterns of events
that should be reacted to.

I didn't understand much of the ladder, but it seems to be some kind of
tool for event correlation just as ruleCore is.


Nov 12, 2003, 5:57:16 PM11/12/03
Marco wrote:

Most industrial process controllers come with a software/hardware modeling
tool that uses the IEC 1131-3 language. Once you get the model working
(using Ladder, for instance) you can then burn the software that the Ladder
generates into the control EPROM.



Nov 13, 2003, 4:38:57 AM11/13/03
GrayGeek <> wrote in message news:<gVysb.26491$>...

ok, this seems to be a bit more low-level than ruleCore is intended
for. But
people tend to use software in the most strange ways.... ;)

It is a interesting idea to use ruleCore for monitoring industrial
things, really cool.
I suppose there exists some kind of standard to extract events from
your typical
industrial process thingy and somehow collect them all and send them
into a ruleCore instance?

Reply all
Reply to author
0 new messages