<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Supporting Business Rule Management with Inconsistency Analysis</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Carl Corea</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Patrick Delfmann</string-name>
          <email>delfmanng@uni-koblenz.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute for Information Systems Research, University of Koblenz-Landau</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Business rules have reached considerable attention from todays businesses. Numerous standards such as the Decision Model and Notation (DMN) have been introduced and adapted in practice in order to model company decision logic. However, standards such as DMN often make strong assumptions about respective decision models, e.g. that of complete information. Here, we see a gap between the solutions proposed in research and the actual industry adaptation. As some assumptions in research seem unfeasible in practice, companies currently face the problem of inconsistent business rules and decision models. Here, companies need to be supported in detecting, understanding and resolving inconsistencies. In this work, we report on current problems for Business Rule Management in the eld and present an approach to analyze actual process executions and corresponding decisions for inconcistencies.</p>
      </abstract>
      <kwd-group>
        <kwd>Business Rules</kwd>
        <kwd>Inconsistency Measurement</kwd>
        <kwd>Compliance</kwd>
        <kwd>Management</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Business rules (BR) are an important counterpart to Business Process
Management (BPM), aimed to ensure that business processes comply to norms and
regulations [
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ]. A multitude of standards have been proposed in the BPM
community, cf. Imgrund et al. (2017) for a survey. However, as BPM research is
often constrained by assumptions, scienti c results may not be plausibly aligned
to industral settings. This gap is a potential problem both for companies and
academia, as it may not be feasible to implement research results in practice.
This is motivated for the DMN standard as follows.
1.1
      </p>
      <p>
        Problems of BR Research in the Field
DMN1 allows to represent business rules in so-called decision tables. Here, columns
are used to denote the input to a rule, resp. the output which can be concluded.
The rows of the decision tables relate to individual business rules. Contrary to
the usage and assumptions envisioned in academia, we identify the following
major problems for companies currently seeking to implement DMN.
1 https://www.omg.org/spec/DMN/About-DMN/
{ Redundant Information. Decision models may contain redundant
information. This could for instance be duplicate rows or columns, distributed
over multiple tables. Based on own experiences gained in industry projects,
such redundant rows and columns can in fact occur in collaborative settings,
contrary to the guidelines of the DMN standard.
{ Incomplete Information. DMN models work under the assumption of
complete information. However, decisions in practice can often be dependent
of underlying domain knowledge [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Calvanese et al. (2017) have already
identi ed this peculiarity as an assumption in research that may not be
plausible in an industry context, and proposed to extend decision models
with domain knowledge.
{ Inconsistent Information. A potential problem for decision models are
inconsistencies, i.e. rules actually contradict each other. Inconsistencies can
result from collaborative and incremental modeling, and impede the intended
use of decision models, as inconsistent models can not correctly be used to
govern compliant process execution [
        <xref ref-type="bibr" rid="ref12 ref3">3, 12</xref>
        ] .
1.2
      </p>
      <p>
        Supporting Business Rule Management
There is a broad consensus that the management of above problems is a current
issue for BPM [
        <xref ref-type="bibr" rid="ref1 ref12 ref2 ref4 ref6">1, 2, 4, 6, 12</xref>
        ]. For example, Batoulis and Weske (2017) report on
a recent case-study with a large insurance company, where those authors found
that 27% of analyzed rules were erroneous. This motivates the need for
supporting companies in monitoring correct decision making. This work therefore
contributes an approach to detect and analyze inconsistencies in actual process
executions, based on an application of results from the eld of Inconsistency
Measurement [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] to a uni ed representation of business rules and domain
knowledge. In case of inconsistencies, the company is presented with a careful analysis,
identifying problems as well as providing a quanti cation of inconsistency. To
the best of our knowledge, an application of inconsistency measures in Business
Rule Management has not yet been investigated.
      </p>
      <p>Our discussion is based on the following main example in Figure 1. Figure 1
shows an exemplary ordering process. We assume that a company uses a process
engine to handle this process. A process instance is triggered by a new customer
input, i.e. instance data. This customer input is now processed in the context
of the shown decision logic. For the given process instance, i.e. the route of the
customer data through the process model, every rule which was used for decision
making relative to the resp. instance data is highlighted in red. One can observe
that there are multiple errors in this decision logic. The FreeShipping table
contains contradictory information. Also, the conclusion in the Eligibility table
contradicts external domain knowledge. Such problems make it impossible for
companies to utilize decision logic as intended. Still, it is essential for companies
to warrant a correct process execution. In this report, we therefore show how our
approach helps companies to detect and analyze such inconsistencies, fostering
correct and compliant business process execution.
zess</p>
    </sec>
    <sec id="sec-2">
      <title>RegCiohnecCkode</title>
      <p>Check
Eligibility</p>
    </sec>
    <sec id="sec-3">
      <title>FreeCShheicpkping</title>
      <p>1.2 Process Logic
CouInDt:r1y: ES
...</p>
      <p>CouInDt:r1y: ES
...
dThoeetoscSonpmoatpisnahnipy dThoeetoscSonpmoatpisnahnipy
ra
rb
rc
rd</p>
      <p>Region Code</p>
      <p>Input
Country</p>
      <p>USA</p>
      <p>ES
Eligibility</p>
      <p>Input
Region
Reg1</p>
      <p>Reg2
Free Shipping</p>
      <p>Input</p>
      <p>Country
re ES
rf ES
1.3 Decision Logic
rb: ES → Reg2
rd: Reg2 → Eligible
re: ES → freeShipping
rf: ES → not freeShipping
Output
Region
Reg1
Reg2
Output
Eligible</p>
      <p>True
True</p>
      <p>Output
Free Shipping</p>
      <p>True
False</p>
      <sec id="sec-3-1">
        <title>1.1 Instance Data</title>
        <p>1.4 Domain Knowledge</p>
      </sec>
      <sec id="sec-3-2">
        <title>1.5 Rule Execution Trace</title>
        <p>
          In order to allow for an analysis of problems such as in Figure 1, a uni ed
representation of business rules and domain knowledge is needed. As a design choice,
we consider the Formal Contract Language (FCL) [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] as a logical formalism for
business rules in this work. FCL allows to capture company knowledge,
distinguishing between facts and rules. Facts capture atomic pieces of information
about a domain of interest, e.g. customer(Mary). Rules are of the form
r :
        </p>
        <p>A1; : : : ; An ! B
(1)
where A1; : : : ; An is the premise of the rule, B can be concluded given that
the premise is satis ed, and r is an identi er. Please note that FCL also allows
to model defeasible rules, superiority relations and other normative rules, e.g.
to express deontic constraints. For simplicity, we will not revisit the syntax of
FCL in greater detail and will continue our discussion on the basis of introduced
expressivity. Please see Governatori and Maher (2017) for further description.</p>
        <p>
          FCL can consequently be used to represent business rules [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Figure 2 shows
an FCL representation of the DMN model in Figure 1.
ra : U SA ! Reg1
rb : ES ! Reg2
rc : Reg1 ! Eligible
rd : Reg2 ! Eligible
re : ES ! F reeShipping
rf : ES ! not F reeShipping
        </p>
        <p>This FCL representation of business rules can subsequently be enriched with
domain knowledge. To this aim, background domain knowledge can be captured
in FCL, allowing to further de ne the semantics and interrelations of rules.</p>
        <p>d1 : ES ! not Eligible
A scienti c eld concerned with the analysis of inconsistent information is the
eld of Inconsistency Measurement, cf. Grant and Martinez (2018). Here, a
central object of study are quantitative measures, which allow to assign a numerical
value to (elements of) a rule base, with the informal meaning that a higher value
re ects a higher degree of inconsistency. These measures foster the possibility to
identify inconsistencies in rule bases, i.e. pinpoint the exact causes, and quantify
the amount of blame, that an individual part of a rule base carries in context of
the overall inconsistency.
Our approach utilizes these quantitative measures to analyze the consistency of
decisions. Here, our proposed application of Inconsistency Measurement results
in Business Rules Management provides new forms of quantitative insight for
companies. Figure 4 shows the approach architecture.</p>
        <p>Analysis
For Instance
t
n
e
m
e
g
a
n
a</p>
        <p>M</p>
        <sec id="sec-3-2-1">
          <title>Analysis Layer</title>
          <p>Decision </p>
        </sec>
        <sec id="sec-3-2-2">
          <title>Management</title>
          <p>Solver
Measures
Ranking
Instance Data
Rule Execution
Trace</p>
          <p>Domain
Knowledge</p>
        </sec>
        <sec id="sec-3-2-3">
          <title>Execution Representation (FCL)</title>
        </sec>
        <sec id="sec-3-2-4">
          <title>Instance</title>
        </sec>
        <sec id="sec-3-2-5">
          <title>Process Logic Layer</title>
        </sec>
        <sec id="sec-3-2-6">
          <title>Customer</title>
        </sec>
        <sec id="sec-3-2-7">
          <title>Business Rule Layer</title>
          <p>Legend:</p>
          <p>Input</p>
          <p>Our approach is geared towards individual process instances. The process
logic of a given process instance is de ned in the process layer, manifested by
the process model. This process layer in turn relies on a business rules layer,
governing process execution. The core of our approach is a uni ed execution
representation, comprising instance data, domain knowledge as well as all
decisions made relative to the process instance. The latter are all business rules
which were executed in the context of the respective process instance. These
executed rules are stored in a so-called rule execution trace. To recall, an example
of a rule execution trace is shown in Figure 1.5.</p>
          <p>Our approach then allows to analyze this execution representation for
inconsistencies. In result, companies are supported in monitoring consistent and
compliant business process execution. The inconsistency analysis is based on
results from the eld of Inconsistency Measurement. Applying these results allows
to support companies in detecting and quantifying potential inconsistencies,
promoting an understanding of inconsistencies in process execution. The analysis
layer comprises one component for nding inconsistencies, and a second
component analyzing and ranking the resp. inconsistencies, introduced subsequently.
3.2</p>
          <p>Finding Inconsistencies
Let an FCL rule base</p>
          <p>B = (F; R)
(2)
where F is a set of facts and R is the set of all rules. Let L(B) be the set of
all literals appearing in B. We de ne inconsistency of a rule base B as logical
inconsistency, i.e. there is support for contradictory outcomes A and not A at
the same time.</p>
          <p>De nition 1 (FCL Inconsistency). An FCL rule base B is inconsistent, if
there exists an l 2 L(B), s.t. B entails fl, not l g.</p>
          <p>To clarify, an FCL rule base is inconsistent if there is a contradiction between
facts or active rules. Then, given a rule base B, the minimal inconsistent subsets
MIS of B are de ned as</p>
          <p>MIS(B) = f B0</p>
          <p>B j B0 is inconsistent and minimal g:
(3)
This de nition of inconsistent subsets can be used to
business rule bases.
nd inconsistencies in
 
ES 
rb: ES → Reg2
rd: Reg2 → Eligible
d1: ES → not Eligible </p>
          <p> 
MIS1
re: ES → FreeShipping
rf: ES → not FreeShipping </p>
          <p>MIS2</p>
          <p>Fig. 5. Minimal Inconsistent Subsets for Figure 1</p>
          <p>We recall the example from Figure 1. An analysis of the execution
representation for this example yields two minimal inconsistent subsets, visualized in
Figure 5 as MIS1 and MIS2. To solve for these MIS, existing reasoners such as
SPINdle2 can be utilized. In this way, our approach allows to exploit results from
the eld of logic programming to detect inconsistencies and support companies
in decision management. Next to pinpointing problems, quantitative measures
to further analyze these inconsistencies are presented in the following.
3.3</p>
          <p>
            Culpability Measures for Assessing the Causes of Inconsistency
So-called culpability measures allow to analyze the FCL rule base from an
element perspective [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ]. The motivation of culpability measures is to evaluate
the responsibility of each element for the overall inconsistency. This is useful for
resolving inconsistency in a business rule base, as it allows to identify individual
elements that are highly responsible for the inconsistency. Let E denote the set of
all possible elements, and B the set of all business rule bases. Then, a culpability
measure C is a function
          </p>
          <p>C : B</p>
          <p>E ! [0; 1)
(4)
2 http://spindle.data61.csiro.au/spindle/
which assigns a non-negative number to a mapping of an individual element
to a rule base, and can thus assess the culpability that an individual element
represents w.r.t. the rule base.</p>
          <p>
            An example is the so-called cardinality based culpability measure Cc [
            <xref ref-type="bibr" rid="ref10">10</xref>
            ]
which assesses the culpability of an element for a rule base B, via
Cc(B; ) =
          </p>
          <p>X
M2MIS(B)s:t: 2M jM j
1
:
This measure counts the number of minimal inconsistent subsets that an
element belongs to, normalized by the cardinalities of the respective subsets.
Applying the Cc measure for the MIS shown in Figure 5 results in the following
quanti cation:
Note that we only compute values for rules, as we focus on an assessment of
modeling errors and inconsistencies between rules.</p>
          <p>
            An assessment such as in (6) provides a quanti cation that can be used as
a driver for inconsistency resolution [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ]. To further guide modelers in
inconsistency resolution, we propose a culpability-based ranking. The intuition is that a
rule with a higher culpability can be seen as more problematic than others and
should be attended to with a higher priority, following [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ].
          </p>
          <p>De nition 2 (Culpability Ranking). Let a rule base B and a culpability
measure C, then de ne the culpability ranking over all rules ri 2 B via hr1; :::; rni,
where C(B; r1) ::: C(B; rn).</p>
          <p>This ranking sorts all rules in B based on their culpability value. Thus, the
user can be presented with a prioritized list of which elements to attend to.
Given the example in Figure 1 and the respective values computed in (6), this
leads to the following culpability ranking:</p>
          <p>hre; rf ; rb; rd; d2i
4</p>
          <p>Key Learnings
In this report, we presented an approach to analyze the consistency of all
decisions made throughout process execution. In case of inconsistent decisions,
the company is provided with quantitative insights as a basis for an informed
re-modeling strategy.</p>
          <p>
            The rst key learning is that the plausibility of assumptions made in BPM
research should be carefully examined. The adaptation in industry may be subject
to di erent settings, counteracting a correct implementation. This is supported
by a wealth of recent studies analyzing problems in Decision Management [
            <xref ref-type="bibr" rid="ref1 ref2 ref4 ref6">1, 2,
4, 6</xref>
            ] and also matches our won experiences gained in industry projects.
(5)
(7)
          </p>
          <p>A second key learning follows Sadiq and Governatori (2015). Those authors
state that businesses need to be aided with systems to provide capacity to
manage business rules. As a manual analysis is unfeasible in practice, BPM research
needs to further focus towards automated approaches helping companies to
understand the causes of problems. To this aim, we showed that measures from the
eld of Inconsistency Measurement can help companies with such an analysis.</p>
          <p>Last, an important key learning gained from this project is the necessity
of domain knowledge. Large-scale collaborative modeling is a challenging task
for companies. Here, domain experts have to work closely with business rule
engineers in order to create plausible decision logic. To this aim, the insights
yielded by inconsistency analysis can be used to bridge the gap between these
expert groups, fostering business process improvement and sustainable Business
Rule Management.</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Batoulis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nesterenko</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Repitsch</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weske</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Decision management in the insurance industry: Standards and tools</article-title>
          .
          <source>In: International Conference on Business Process Management</source>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Batoulis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weske</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Soundness of decision-aware business processes</article-title>
          .
          <source>In: International Conference on Business Process Management</source>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Branco</surname>
            ,
            <given-names>M.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiong</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Czarnecki</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , Kuster, J., Volzer, H.:
          <article-title>A case study on consistency management of business and it process models in banking</article-title>
          .
          <source>Software &amp; Systems Modeling</source>
          <volume>13</volume>
          (
          <issue>3</issue>
          ) (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laurson</surname>
            ,
            <given-names>U</given-names>
          </string-name>
          .,
          <string-name>
            <surname>Maggi</surname>
            ,
            <given-names>F.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montali</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Teinemaa</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Semantics and analysis of dmn decision tables</article-title>
          .
          <source>In: International Conference on Business Process Management</source>
          . Springer (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumas</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maggi</surname>
            ,
            <given-names>F.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montali</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Semantic dmn: Formalizing decision models with domain knowledge</article-title>
          .
          <source>In: International Joint Conference on Rules and Reasoning</source>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Di</given-names>
            <surname>Ciccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Maggi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.M.</given-names>
            ,
            <surname>Montali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Mendling</surname>
          </string-name>
          , J.:
          <article-title>Resolving inconsistencies and redundancies in declarative process models</article-title>
          .
          <source>Information Systems</source>
          <volume>64</volume>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Governatori</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Maher</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>Annotated defeasible logic</article-title>
          .
          <source>Theory and Practice of Logic Programming</source>
          <volume>17</volume>
          (
          <issue>5-6</issue>
          ) (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Grant</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hunter</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Measuring consistency gain and information loss in stepwise inconsistency resolution</article-title>
          .
          <source>In: European Conference on Symbolic and Quantitative Approaches to Reasoning and Uncertainty</source>
          . Springer (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Grant</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martinez</surname>
          </string-name>
          , M.V. (eds.): Measuring Inconsistency in Information. College
          <string-name>
            <surname>Publications</surname>
          </string-name>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Hunter</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Konieczny</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , et al.:
          <article-title>Measuring inconsistency through minimal inconsistent sets</article-title>
          .
          <source>KR 8</source>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Imgrund</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Malorny</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Janiesch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Eine literaturanalyse zur integration von business rules und business process management</article-title>
          .
          <source>In: Internationale Tagung der Wirtschaftsinformatik</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Sadiq</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Governatori</surname>
          </string-name>
          , G.:
          <article-title>Managing regulatory compliance in business processes</article-title>
          .
          <source>In: Handbook on Business Process Management 2</source>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>