Skip to content
Gytis Gurklys
Go back

On Business Rules

Gytis Gurklys
LT

Slides from a talk I gave to colleagues at Metasite on 10 March 2020. It follows the same line as the earlier talk on business requirements, one step further down: to the rules that get written underneath them.

I opened with a survey of the team. Most were confident they could write a rule; far fewer were confident they could explain one to a stakeholder, and almost nobody thought the topic was a waste of time. We had some conventions, but how a rule actually ends up phrased was left to each analyst.

The rest is what the OMG’s SBVR standard has to say about it — where it came from, how it defines a rule, an advice, and the statements that express them, and what SBVR Structured English looks like.

The research was about a third of the way through when I gave the talk, so this is a report on a direction rather than a finished method.

Where a slide left out something I said out loud, my speaker note is printed underneath it.

Agenda
Motivation
Why is it important for us
BR Survey — Do you agree with following statements:
BR Survey Results
Current state of BR usage
Room for improvement
My goal
Current status of my research
Problems of Natural Language
Short history of Business Rules
Business Rules Group
OMG – Object Management Group
MDA – Model Driven Architecture
MDA layers
MOF – Meta-Object Facility
MOF
SBVR - Semantics of Business Vocabulary and Business Rules
SBVR place in MOF — SBVR specification is MOF metamodel
BPMN – SBVR integration
SBVR Aplicability
SBVR Aplicability
Definitions
BR Mantra – SBVR
Noun Concept
Verb Concept
Business Rule
Business Rule
Fundamental Principles for Elements of Guidance
Definitional Elements of Guidance
Definitional Rules — definitional rule
Definitional Advices — advice of possibility
Definitional Advices — advice of contingency
Statements of Definitional Rules
Statements of Definitional Rules — definitional rule statement
Statements of Definitional Advices
Statements of Definitional Advices — statement of advice of possibility
Behavioral Elements of Guidance
Behavioral Rules — behavioral business rule
Behavioral Advices — advice of permission
Behavioral Advices — advice of optionality
Statements of Behavioral Rules
Statements of Behavioral Rules — behavioral business rule statement
Statements of Behavioral Rules — obligation statement
Statements of Behavioral Rules — prohibition statement
Statements of Behavioral Rules — restricted permission statement
Statements of Behavioral Advices
Statements of Behavioral Advices — statement of advice of permission
Statements of Behavioral Advices — permission statement
Statements of Behavioral Advices — non-obligation statement
Statements of Behavioral Advices — optionality statement
Rule (Modelling) Languages
SBVR Structured English
4 font styles
Quantification
Logical operations
Modal operations
Other keywords

Specification documents are the initial artefacts when it comes to implementing business logic in IT systems. Specification documents are usually created in cooperation with domain experts and requirements engineers, whereas the technical background of these groups differs tremendously. Requirements engineers fulfil cross-cutting concerns and are negotiators between the business and technical worlds. Therefore, communication is the key between all stakeholders involved. Thus, the most appropriate means to communicate is common natural language. [98] However, natural language specifications cannot be processed by computers to a satisfactory extent per se. Early attempts to transform natural language to formal representations had to tackle the inherent problems in natural language

In logic, temporal logic is any system of rules and symbolism for representing, and reasoning about, propositions qualified in terms of time (for example, "I am always hungry", "I will eventually be hungry", or "I will be hungry until I eat something")

In alethic logic, a proposition that is possible but not necessary is termed ‘contingent’. If people in a business were to treat it as a definitional rule, they would miscategorize things in the real world. This typically leads to refusal of activity (that should be permitted) because unnecessary preconditions are not met, e.g., refusing to accept a rental booking because the person wishing to rent is under 21.

Download the slides (PDF)



Previous Post
On Business Requirements
Next Post
A Theoretical Basis for Modeling the EUDAMED Domain