Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript Rule Engine
branch: master


latest commit ab60442212
Tom de Grunt authored
Failed to load latest commit information.
examples Better examples
lib Better examples Typo
package.json Renamed conditions to condition (singular). Renamed actions to


What is Jools?

Jools is a forward chaining Business Rules Engine (BRE), currently implemented as an inference engine.

JSON Rules

Jools uses JSON rules. Rules consist of a descriptive name, one or more conditions and one or more consequences. Jools allows for very expressive rules, take for example the following:

  "name": "say hello to Dave",
    function(name) {
      return name == "Dave";
    function(name) {
      console.log("Hello " + name);

Provided the following fact, the rule would output "Hello Dave" to the console:

  "name": "Dave",
  "email": ""
Something went wrong with that request. Please try again.