#ORF09 Generating Rules from UML presentation

This entry is part 16 of 30 in the series October Rules Fest 2009

Daniel Brookshier talked about Production Rule Representation (PRR) which is a vendor neutral representation that can be used to share between tools. Allows to mix Rules with UML stuff.

This requires an extension to UML. It uses a Stereotype applied to UML elements. From these extended diagrams, it is possible to generate rules, but visualisation is limited for now and covers only simple rules.

PRR can easily be extended to add the missing pieces that would make this more useful. Using PRR can also help with the management of rules. This modeling can help relate requirements to functionality, etc.

He then walked us through a full model of a “Monkey Business” (a humourus example, but that allowed him to communicate what he wanted to). From requirements, to state machines to data model, rules, etc.

He used Ruleby to generate the rules from model he presented. He was also able to generate Drools rules.

Interesting presentation, it obviously needs to evolve some more before being useful in real projects, but could have potential if you need to go down that deep on the modeling route.

Series Navigation<< #ORF09 Rule Violation and Over-Constrained Problems Presentation#ORF09 What’s Different about Rules in CEP Presentation >>

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>