# Rulebase Technology

50 %
50 %
Technology

Published on May 31, 2008

Author: RolandoHernandez

Source: slideshare.net

## Description

On Declarative vs. procedural programming, and the Rete algorithm. (note: Download the file and start Powerpoint slide show to see animatons and high quality graphics; the slideshare viewer messes up some of the graphics)

Rulebase Technology Rolando Hernandez Enterprise Rules Architect CEO, BIZRULES [email_address] www.BizRules.com www.VisibleKnowledge.com

Traditional applications using hard-coded rules Client Applications 1 st Tier Database 2 nd Tier Code Business Rules Data Rule Engine 3 rd Tier Client Applications 1 st Tier Modern applications using business rules

Traditional Procedural Language Traditional Procedural language is sequential, forward only Once you get an answer, the rest of the rules fire anyway You have to loop a few times to get around sequence problem Suppose your rules are out of order? Problems arise if sequence is incorrect What if you have to add a new rule? Developer has to figure out what order to put it in Adding a new rule could break existing rules Loop #1 Ran 10,000 rules 1 rule fired (R100) Loop #2 Ran 10,000 rules 2 rules fired (R10, R1000) Total Ran 20,000 rules 3 rules fired CONCLUSION: Approve DATA: X is TRUE R1: IF a is true THEN b is true R10: IF y is true THEN z is true R100: IF x is true THEN y is true R1000: IF z is true THEN “APPROVE” R10,000: IF d is true THEN “DENY”

Suppose your rules are out of order?

Problems arise if sequence is incorrect

What if you have to add a new rule?

Developer has to figure out what order to put it in

Adding a new rule could break existing rules

Declarative (Rule-based) Language Cycle #1 Ran 2 rules Fired 1 rule (R100) Cycle #2 Ran 1 rule Fired 1 rule (R10) Cycle #3 Ran 1 rule Fired 1 rule (R1000) Total Ran 4 rules Fired 3 rules CONCLUSION: APPROVE Search for rules that match the data R100: IF z is true THEN “APPROVE” Execute those rules R100 fires because z is true DATA: X is TRUE Y is TRUE Z is true Search for rules that match the data R10: IF y is true THEN z Execute those rules R10 fires because Y is true DATA: X is TRUE Y is TRUE Search for rules that match the data R50: IF x is false THEN “Deny” R100: IF x is true THEN y is True Execute those rules R50 does not fire R100 fires because x is true DATA: X is TRUE R1: IF a is true THEN b is true R10: IF y is true THEN z is true R100: IF x is true THEN y is true R1000: IF z is true THEN “APPROVE” R10,000: IF d is true THEN “DENY” Rules are in no particular order

Rulebases are the next step in application development productivity Emerging Current Classic Operating Environment Operating Environment Operating Environment Database Engine Database Engine Applications Rules Engine Applications Applications DATA CODE RULES CODE RULES CODE RULES DATA DATA

Why this is important Rules steer business decisions Rulebases store and share rules Rule engines drive business strategy

Rulebases store and share rules

 User name: Comment:

## Related presentations

#### Neuquén y el Gobierno Abierto

October 30, 2014

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

#### Decision CAMP 2014 - Erik Marutian - Using rules-b...

October 16, 2014

In this presentation we will describe our experience developing with a highly dyna...

#### Schema.org: What It Means For You and Your Library

November 7, 2014

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

#### WearableTech: Una transformación social de los p...

November 3, 2014

Un recorrido por los cambios que nos generará el wearabletech en el futuro

#### O Impacto de Wearable Computers na vida das pessoa...

November 5, 2014

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

#### All you need to know about the Microsoft Band

November 6, 2014

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

## Related pages

### Public policy, complexity and rulebase technology ...

Publication » Public policy, complexity and rulebase technology. ... Conference Paper: Modeling public opinion and voting as a complex system with agent ...

### THE AUSTRALIA INSTITUTE

THE AUSTRALIA INSTITUTE Public policy, complexity and rulebase technology Howard Pender Discussion Paper Number 67 June 2004 ISSN 1322-5421

### Rulebase Technology and Legal Knowledge Representation

Rulebase Technology and Legal Knowledge Representation 255 2 The Application Domain and Requirements The choice of the IPR legal domain raised several ...

### RuleBase Parallel Edition - IBM R&D Labs in Israel Home Page

The IBM Research - Haifa Lab RuleBase Parallel Edition page, entry point to information about IBM Research - Haifa Lab RuleBase Parallel Edition Activities

### Rulebase Technology and Legal Knowledge Representation ...

Publication » Rulebase Technology and Legal Knowledge Representation. ... [Show abstract] [Hide abstract] ABSTRACT: In this paper we describe a legal core ...

### RuleBase SixthSense Edition - Formal Verification from IBM

Our main asset is RuleBase SixthSense Edition, ... of cutting edge technology. RuleBase SixthSense Edition has a simple ... RuleBase the ultimate solution ...

### Rulebase Technology and Legal Knowledge Representation ...

This paper reflects the results of a study conducted as a side work connected with the development of ALIS (Automated Legal Intelligent System), modeling a ...