top of page

VisiRule JavaScript Rules Engine 

VisiRule also offers a compact, client-side JavaScript rules engine to execute charts on mobile devices. This reduces the heavy-lifting that often comes with server-side rules engine processing and allows for lighter, highly responsive rules execution across mobile devices - even without a connection.


JavaScript Rules Engines

The VisiRule JavaScript Rule Engine runs solely on the client and executes code locally in the client's browser. This means systems can be delivered server-free i.e. serverless, with no need for any internet connection.


This engine provides a convenient low-tech way to deliver decision tree flowcharts solutions. These are self-contained and can be embedded within web pages, emails and documents, indeed, executed anywhere where JavaScript runs.

How does the VisiRule JS Rule Engine work?

The VisiRule to HTML compiler encodes the business decision logic within a chart into an XML data structure which is evaluated by a dedicated JavaScript rule engine. VisiRule provides a HTML user interface which can be modified using CSS. Extra situation specific functionality can be added via extra buttons and JS code.

Go Back and Change your Mind!

The VRJS Rule Engine maintains a dynamic stack of questions asked and answers given. Users can go back to previous questions, change their mind and re-evaluate.

Document Generation

On reaching a final conclusion, the JavaScript rule engine can send the answers to the VisiRule Document Generator in order to create a bespoke document.

Embedded Calculations and Formulae

VisiRule Statement Boxes can contain code to compute calculations using answers given in earlier questions, just like Excel.

Advantages of Offline Client-side Delivery

In a traditional server-rendered application, every user interaction has to confer with a remote server about what to do next. Client-side web apps are different. They load the entire payload up-front, so once it’s booted, it has all of the templates, business logic, etc. necessary to handle a user’s interactions. 

Lexis Tool Geschäftsfähigkeit

The Lexis digital assistant advises on cases in which the effectiveness of a legal transaction or legal transaction is questionable. The tool contains over 50 questions, of which the user only has to answer a few, to arrive at a result.

Lexis Tool Mietrechtsgesetz

The area of Tenancy Law often causes difficulties in practice - the assessment of which laws an existing contract is subject to is complex and time-consuming. The test scheme assistant enables a quick assessment of which regulations are to be applied to a specific tenancy.

JavaScript Rules Engine expert system

Client-side Control

The demos use a basic CSS style sheet which specifies the font, size, face, colour, spacing, border for each node type found in the page (like question, explanation, conclusion etc). This presentation layer can be easily enhanced and extended by anyone familiar with standard web principals. You can inspect the HTML yourself.


VisiRule stores the chart logic and node data in XML, executed by the dedicated VisiRule JS business rule engine.

Peripheral Troubleshooting Screen.png

Delivery Options

You can deliver into a fixed size pop-up window or into a resizeable scrolling window.

The logic execution is independant from the way the questions are presented.

You can easily brand the delivery as per your requirements.

Lawns Example

Cleint Side Rule Engine in JavaScript
VisiRule Generated Truth Table

This is a simple lawns advisor expert system demo which hooks into the VisiRule Document Generator so as to provide upon completion a fully populated document instance using the answers and conclusions gathered from the client.

Volatile Data

The focus of this decision tree is not to list every possible combination of scenarios, but to show some of the basic options that are available and remind examiners about things to think about when imaging.

Troubleshooting PC Attached Peripherals

Do I Need Approval?

JavaScript Evaluator Rule Engne

Naval Operations Security (OPSEC)

Opsec Expert System Risk Chart
opsec risk decision flowchart
bottom of page