=Paper= {{Paper |id=Vol-2973/paper_194 |storemode=property |title=Interactive Resolution and Prevention of Inconsistencies in Business Rule Management |pdfUrl=https://ceur-ws.org/Vol-2973/paper_194.pdf |volume=Vol-2973 |authors=Sabine Nagel |dblpUrl=https://dblp.org/rec/conf/bpm/Nagel21 }} ==Interactive Resolution and Prevention of Inconsistencies in Business Rule Management== https://ceur-ws.org/Vol-2973/paper_194.pdf
Interactive Resolution and Prevention of Inconsistencies in
Business Rule Management
Sabine Nagel 1
1
    University of Koblenz-Landau, UniversitΓ€tsstr. 1, 56070 Koblenz, Germany

                                  Abstract
                                  To define allowed company behavior, regulations are often represented in the form of business
                                  rules. As rule modeling is an incremental and often collaborative process, there is a high risk
                                  for contradicting rules being modeled. To date, several approaches for the detection,
                                  measurement and automated resolution of such inconsistencies have been introduced. While
                                  these approaches are an important first step towards successful compliance management in
                                  companies, they are currently incapable of providing resolution strategies that are applicable
                                  in a real-life company scenario. This calls for novel resolution approaches with possibilities
                                  for human intervention. By providing human experts with inconsistency metrics and
                                  visualizations, we hope to improve the understanding of inconsistencies, which is a prerequisite
                                  for a successful human-in-the-loop integration. Additionally, we will identify sources of
                                  inconsistencies to develop a general framework for the prevention of inconsistencies already
                                  during modeling.

                                  Keywords 1
                                  Business Rules, Business Rule Management, Inconsistencies, Inconsistency Resolution,
                                  Inconsistency Prevention, Explainability, Human-in-the-loop

1. Introduction and Related Work
     Company operations are limited by an increasing amount of internal and external regulations.
Especially as violating such policies might come with major legal consequences, managing compliance
is a current challenge for organizations [1]. In this context, regulations are often represented as
behavioral business rules, which can be defined as conditions in the form of a declarative statement that
define allowed behavior of company processes [2]. Business rules are expressions of the general form
π‘Ž! , … , π‘Ž" β†’ 𝑏 with π‘Ž! , … , π‘Ž" representing the condition and 𝑏 representing the conclusion of a rule.
     Business rules originate from different sources and can be modeled either manually or automatically.
Manual authoring of business rules is often a collaborative and incremental process, which increases
the likelihood of erroneous rules being modeled [3]. Furthermore, rule mining can be applied to
automatically extract business rules from already existing sources such as event logs [4,5], process
models [6,7] or natural language [8,9]. As current approaches only focus on the extraction of rules in
general, without taking potential interrelations between rules into account, the resulting rule sets might
contain contradicting statements, which are referred to as inconsistencies.
     Generally, we distinguish between different types of inconsistencies. In addition to inconsistencies
in the classic-logical sense, which can be assessed already at design-time, recent works [10,11] have
introduced so-called potential inconsistencies that comprise both actual issues and potential issues and
can only be assessed at run-time. Actual issues describe rules that lead to contradictory conclusions as
soon as their shared condition is met (e.g., {π‘Ž β†’ 𝑏, π‘Ž β†’ ¬𝑏}). While there already exist means to assess
the inconsistency types mentioned above, little research has been directed towards potential issues. In
contrast to actual issues, potential issues do not have a shared condition (e.g., {𝑏 β†’ 𝑑, 𝑐 β†’ ¬𝑑}). Thus,

Proceedings of the Demonstration & Resources Track, Best BPM Dissertation Award, and Doctoral Consortium at BPM 2021 co-located with
the 19th International Conference on Business Process Management, BPM 2021, September 6-10, 2021, Rome, Italy
EMAIL: snagel@uni-koblenz.de
ORCID: 0000-0003-4838-8246
                               Β© 2021 Copyright for this paper by its authors.
                               Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
    CEUR
    Wor
    Pr
       ks
        hop
     oceedi
          ngs
                ht
                I
                 tp:
                   //
                    ceur
                       -
                SSN1613-
                        ws
                         .or
                       0073
                           g
                               CEUR Workshop Proceedings (CEUR-WS.org)
they only lead to contradictory conclusions if multiple conditions are met at the same time. As the
individual rules might still make sense on their own, potential issues are particularly hard to assess and
resolve. Lastly, hidden dependencies [12] between rules might also lead to problems. For simplicity,
we will use the term inconsistencies for all types mentioned above in the remainder of the paper.
   Currently, inconsistency handling is mainly located after the authoring phase of the business rules
management (BRM) lifecycle (see Figure 1) [13], i.e., inconsistencies are usually identified, measured,
and resolved after business rules have been modeled. Recent works include the measurement of both
classic inconsistencies [14,15] and actual issues [10,11] in general, implementations of inconsistency
measurement in DMN decision tables [16] as well as first inconsistency resolution approaches [17,18].


               Align                            Creation & Maintenance                           Implementation
               Plan               Capture        Organize      Author            Verify              Apply



Figure 1: Business Rules Management Lifecyle (adapted from [13])

    Regarding the latter, there currently only exist automated approaches that delete elements from a
rule base to achieve consistency. While this is an important first step, it might not always be plausible
or applicable in a real-world scenario, as this might lead to erroneous rules being kept, while potentially
business critical rules are deleted instead. To solve this problem, it is not only important to include
human experts but also to consider additional change patterns [19] (e.g., editing existing rules or adding
context to rules) in novel inconsistency resolution approaches. While the deletion of rules can only
lower the overall inconsistency of a rule base, changing rules might result in the creation of additional
inconsistencies, which must be prevented as part of a resolution strategy. In addition to resolving
existing inconsistencies, it is also important to focus on the prevention of inconsistencies already
during rule modeling, i.e., in the capture, organize or author phase of the BRM lifecycle (see Figure 1).
    Thus, we will address these two research gaps by developing interactive inconsistency resolution
and prevention strategies, as further described in the following section.

2. Research Aim and Methodology

    The aim of this thesis is to provide a continuous and interactive management of inconsistencies in
business rule bases across the entire BRM lifecycle. This not only includes interactive approaches for
measuring, visualizing, and resolving already existing inconsistencies, but also preventing
inconsistencies from being modeled in the first place. Here, the focus is on a strong human-in-the-loop
integration, as this aspect is crucial for the applicability of the results in companies.

2.1.    Research Objectives and Questions
   This work consists of four main research objectives (RO) and their corresponding research questions
(RQ), which are described in more detail below. All objectives are closely interrelated and build upon
each other, which is visualized in Figure 2.
                                                                Identification of Inconsistency Sources (RO1)

        Improvement of Inconsistency Understanding (RO2)                Prevention of Inconsistencies (RO4)

            Interactive Inconsistency Resolution (RO3)

Figure 2: Research Objectives and their Interrelations

   As a foundation for the prevention of inconsistencies (RO4), it is important to first identify their
exact origin. Here we distinguish between two types of rule modeling, namely manual and automatic
modeling. As manual modeling is often an incremental and collaborative process, our first goal is to
better understand the manual modeling process and identify the causes for potentially inconsistent
business rules. Additionally, inconsistent business rules can originate from rule mining, i.e.,
automatically extracting rules from event logs, process models, or natural language descriptions. Here,
the aim is to understand which parts of these rule mining algorithms enable inconsistent business rules
to be modeled as this is an important prerequisite for future resolution and prevention strategies. Thus,
this objective leads to the first research question.

RQ1: How do manual and automatic rule modeling approaches enable inconsistent business rules to
be modeled?

   To develop interactive resolution and prevention approaches that involve human experts, it is
important for humans to understand inconsistencies in business rules. Existing research on declarative
process model understanding [12,20,21] has shown that especially combinations of constraints and
hidden dependencies pose challenges to human modelers. This also leads to a lack of inconsistency
understanding within such a model, which impairs their resolution and prevention. To solve this
problem and to increase understandability of inconsistencies, we will make use of decision support
technologies from the area of Business Intelligence (BI) [22,23]. The field of inconsistency
measurement [14,24] already provides a number of quantitative measures for both entire rule bases and
formulas within a rule base. In this work, we will focus on the explainability and extension of existing
rule-based measures, as well as developing novel metrics, such as semantic and economic measures. In
addition to providing the user with quantitative metrics, we will also develop and test novel
inconsistency visualization techniques. Thus, the following research question will provide a strong
foundation for the interactive resolution (RO3) and prevention (RO4) of inconsistencies.

RQ2: How can quantitative metrics and visualization techniques improve the understanding of
inconsistencies in business rules?

    The aim of the third objective (RO3) is to develop inconsistency resolution approaches with a strong
human-in-the-loop integration. As current state-of-the-art approaches [17,18] solely apply (semi-
)automated inconsistency resolution, we will first examine the applicability of these approaches to an
interactive inconsistency resolution. Here, the focus will be on explainability, as the measures used in
existing approaches mainly focus on guaranteeing minimal information loss as opposed to supporting
humans in understanding inconsistencies and helping them to decide which rules are erroneous. The
output of this objective will be an approach for a guided and stepwise inconsistency resolution, by
integrating the inconsistency metrics and visualizations with the resolution approach itself. In this
context, we will also investigate inconsistency resolution based on different change patterns [19], as
changing a rule or adding context to rules might be more plausible in a real-life scenario compared to
simply deleting rules from a rule base. Therefore, this objective leads to the third research question.

RQ3: How can inconsistencies in business rules be successfully resolved in an interactive manner?

    To prevent inconsistencies already during rule authoring, we will integrate the results from RO1-
RO3 and develop a general framework for inconsistency prevention, which is covered by the last
research question (RQ4). Here, we also distinguish between manual and automatic rule modeling. To
prevent inconsistencies during manual modeling, we will develop a procedure model containing best
practices, based on the findings from RO1. Also, we will focus on the continuous support of consistent
rule modeling by preventing inconsistencies during modeling, e.g., after only parts of the rule have been
entered. To measure and visualize the impact of a current rule input, we will make use of the results
from RO2, as an understanding of the current rule base and potentially arising inconsistencies is crucial
for this step. In addition to identifying, measuring, and visualizing classic inconsistencies and actual
issues directly, we will also develop means to predict and prioritize potential issues. Furthermore, we
will develop approaches for consistent rule mining. Based on the findings from RO1, we will extend
existing rule mining algorithms with novel parameters and develop entirely new approaches that take
interrelations between rules into account to prevent the resulting rule base from being inconsistent.

RQ4: How can inconsistencies already be prevented during rule modeling?
2.2.    Research Design

   To develop and evaluate interactive inconsistency resolution and prevention approaches, we will
apply a Design Science Research (DSR) methodology [25]. Table 1 provides an overview of the DSR
phases, the respective RQs, and a description of each phase, including the applied research methods.

Table 1: DSR Phases and Research Methods
 DSR Phase      RQs    Description
 Awareness of   -      To get an overview of the state of the art in the areas of BRM and especially
 Problem               inconsistency handling within business rule bases, an extensive literature review [26–
                       28] has been conducted. The result of this phase is a research proposal containing the
                       problem statement and identified research gaps that lead to the research objectives and
                       questions guiding this work.
 Suggestion     RQ1    Immediately following the previous phase, the suggestion phase aims at developing a
                RQ2    tentative design for the envisioned artifact. To this aim, we will not only conduct
                       further literature reviews in the areas of manual and automatic rule modeling and
                       process model understanding, but also apply qualitative research methods to better
                       understand the manual modeling process and inconsistency understanding in general.
                       This includes conducting interviews, case studies and eye-tracking experiments to gain
                       both subjective and objective insights.
 Development    RQ3    Next, the tentative design is further developed and implemented. This includes the
                RQ4    development of novel metrics and visualization techniques to improve inconsistency
                       understanding, which then provide a strong foundation for the development of
                       interactive inconsistency resolution and prevention approaches, which are the focus of
                       this phase and this work in general.
 Evaluation     RQ2    In this phase, the developed artifact will be iteratively evaluated and tested to analyze
                RQ3    its behavior and identify required changes to the tentative design. At this stage, we will
                RQ4    again focus on a close human-in-the-loop integration. To this aim, we will conduct
                       experiments to evaluate the (cognitive) effects of the developed metrics and
                       visualizations, as well as the entire resolution and prevention approaches.
 Conclusion     RQ3    This last phase will focus on the presentation and communication of results, as well as
                RQ4    positioning them in terms of their contribution to knowledge.

3. Contribution, Current State and Outlook

    The main contribution of this work is twofold. First, we will develop and evaluate explainable and
interactive resolution approaches, which enables the applicability of inconsistency resolution directly
in companies. Second, we will provide means for inconsistency prevention in the form of a general
framework. Thus, this work will contribute to BRM by integrating inconsistency handling throughout
the entire BRM lifecycle and preventing companies from having to detect, measure and resolve
inconsistencies in the future. Additionally, the results of this work will contribute to research by
identifying weaknesses of current state-of-the-art rule mining and modeling approaches and providing
additional insights into process model understanding in general.
    Regarding the current state of this work, the Awareness of Problem phase has been successfully
completed and the focus is now on the Suggestion phase. In order to examine the potential of applying
BI in the form of metrics and visualization techniques to improve inconsistency understanding, we have
already conducted initial studies with human participants to not only test the effects of quantitative
measures in general [29] but also the effects of visualization techniques on understanding
inconsistencies in business rules [30,31]. Based on these results, we will now focus on further
developing inconsistency metrics and visualizations that can serve as a basis for interactive resolution
and prevention approaches. Furthermore, we have recently published a paper on an interactive and
minimal repair of declarative process models [32] to show, how a human-in-the-loop integration could
be combined with a semi-automated approach focusing on minimal information loss w.r.t. the number
of deleted rules. As such a combination of automation and human-in-the-loop integration can provide
many benefits, we will further extend this approach towards a stepwise and interactive inconsistency
resolution as a next step.
4. References

[1] M. Hashmi, G. Governatori, H.-P. Lam, M.T. Wynn, Are we done with business process
     compliance: state of the art and challenges ahead, Knowledge and Information Systems. 57 (2018)
     79–133.
[2] I. Graham, Business rules management and service oriented architecture: a pattern language, John
     Wiley, 2006.
[3] K. Batoulis, M. Weske, Disambiguation of DMN Decision Tables, in: Business Information
     Systems, Springer International Publishing, Cham, 2018: pp. 236–249.
[4] E. Bazhenova, S. Buelow, M. Weske, Discovering Decision Models from Event Logs, in: W.
     Abramowicz, R. Alt, B. Franczyk (Eds.), Business Information Systems, Springer International
     Publishing, Cham, 2016: pp. 237–251.
[5] F.M. Maggi, R.P.J.C. Bose, W.M.P. van der Aalst, Efficient Discovery of Understandable
     Declarative Process Models from Event Logs, in: Active Flow and Combustion Control 2018,
     Springer International Publishing, Cham, 2012: pp. 270–285.
[6] K. Batoulis, A. Meyer, E. Bazhenova, G. Decker, M. Weske, Extracting Decision Logic from
     Process Models, in: Advanced Information Systems Engineering, Springer International
     Publishing, Cham, 2015: pp. 349–366.
[7] E. Bazhenova, F. Zerbato, M. Weske, Data-Centric Extraction of DMN Decision Models from
     BPMN Process Models, in: E. Teniente, M. Weidlich (Eds.), Business Process Management
     Workshops, Springer International Publishing, Cham, 2018: pp. 542–555.
[8] H. van der Aa, C. Di Ciccio, H. Leopold, H.A. Reijers, Extracting Declarative Process Models
     from Natural Language, in: P. Giorgini, B. Weber (Eds.), Advanced Information Systems
     Engineering, Springer International Publishing, Cham, 2019: pp. 365–382.
[9] V. Etikala, Z.V. Veldhoven, J. Vanthienen, Text2Dec: Extracting Decision Dependencies from
     Natural Language Text for Automated DMN Decision Modelling, in: Proceedings of the 8th
     International Workshop on DEClarative, DECision and Hybrid Approaches to Processes (DEC2H
     2020) Co-Located with the 18th International Conference on Business Process Management, 2020.
[10] C. Corea, P. Delfmann, Quasi-Inconsistency in Declarative Process Models, in: Proceedings of the
     Business Process Management Forum Co-Located with the 17th International Conference on
     Business Process Management (BPM 2019), Vienna, Austria, 2019.
[11] C. Corea, M. Thimm, On quasi-inconsistency and its complexity, Artificial Intelligence. 284
     (2020) 103276.
[12] J. De Smedt, J. De Weerdt, E. Serral, J. Vanthienen, Improving Understandability of Declare
     Models by Revealing Hidden Dependencies, in: Proceedings of the International Conference on
     Advanced Information Systems Engineering (CAiSE ’16), 2016.
[13] M.L. Nelson, R.L. Rariden, R. Sen, A lifecycle approach towards business rules management, in:
     Proceedings of the 41st Annual Hawaii International Conference on System Sciences, IEEE, 2008:
     pp. 1–10.
[14] M. Thimm, Inconsistency Measurement, in: B. Quost, M. Theobald (Eds.), Proceedings of the 13th
     International Conference on Scalable Uncertainty Management (SUM’19), 2019: pp. 9–23.
[15] C. Corea, P. Delfmann, Supporting Business Rule Management with Inconsistency Analysis, in:
     Proceedings of the Industrial Track Co-Located with 16th International Conference on Business
     Process Management (BPM 2018), 2018: pp. 1–8.
[16] F. Hasić, C. Corea, J. Blatt, P. Delfmann, E. Serral, A Tool for the Verification of Decision Model
     and Notation (DMN) Models, in: Proceedings of the 14th International Conference on Research
     Challenges in Information Science (RCIS 2020), 2020: pp. 536–542.
[17] C. Corea, M. Deisen, P. Delfmann, Resolving Inconsistencies in Declarative Process Models based
     on Culpability Measurement, in: In Proceedings Der 14. Internationalen Tagung Der
     Wirtschaftsinformatik (WI 2019), Siegen, Germany, 2019.
[18] C. Di Ciccio, F.M. Maggi, M. Montali, J. Mendling, Resolving Inconsistencies and Redundancies
     in Declarative Process Models, Information Systems. 64 (2017) 425–446.
[19] F. Hasić, C. Corea, J. Blatt, P. Delfmann, E. Serral, Decision model change patterns for dynamic
     system evolution, Knowledge and Information Systems. 62 (2020) 3665–3696.
[20] C. Haisjackl, I. Barba, S. Zugal, P. Soffer, I. Hadar, M. Reichert, J. Pinggera, B. Weber,
     Understanding Declare models: strategies, pitfalls, empirical results, Softw Syst Model. 15 (2016)
     325–352.
[21] C. Haisjackl, S. Zugal, Investigating Differences between Graphical and Textual Declarative
     Process Models, in: Advanced Information Systems Engineering Workshops, Springer
     International Publishing, Cham, 2014: pp. 194–206. http://link.springer.com/10.1007/978-3-319-
     07869-4_17 (accessed May 24, 2021).
[22] H.J. Watson, Tutorial: Business Intelligence – Past, Present, and Future, CAIS. 25 (2009).
[23] S. Chaudhuri, U. Dayal, V. Narasayya, An overview of business intelligence technology,
     Communications of the ACM. 54 (2011) 88–98.
[24] C. Corea, M. Thimm, Towards Inconsistency Measurement in Business Rule Bases, in:
     Proceedings of the 24th European Conference on Artificial Intelligence (ECAI 2020), 2020.
[25] V.K. Vaishnavi, W. Kuechler, Design Science Research Methods and Patterns, 2nd ed., CRC
     Press, 2015.
[26] J. vom Brocke, A. Simons, B. Niehaves, K. Reimer, R. Plattfaut, A. Cleven, Reconstructing the
     Giant: On the Importance of Rigour in Documenting the Literature Search Process, in: Verona,
     Italy, June 8-10, 2009: pp. 1–12.
[27] J. vom Brocke, A. Simons, K. Riemer, B. Niehaves, R. Plattfaut, A. Cleven, Standing on the
     Shoulders of Giants: Challenges and Recommendations of Literature Search in Information
     Systems Research, Communications of the Association for Information Systems. 37 (2015).
[28] J. Webster, R.T. Watson, Analyzing the Past to Prepare for the Future: Writing a Literature
     Review, MIS Quarterly. 26 (2) (2002) 8–23.
[29] S. Nagel, C. Corea, P. Delfmann, Effects of Quantitative Measures on Understanding
     Inconsistencies in Business Rules, in: Proceedings of the 52nd Hawaii International Conference
     on System Sciences, Wailea, Hawaii, USA, 2019: pp. 146–155.
[30] C. Corea, S. Nagel, P. Delfmann, Effects of Visualization Techniques on Understanding
     Inconsistencies in Automated Decision-Making, in: Proceedings of the 53rd Hawaii International
     Conference on System Sciences (HICSS 2020), Wailea, Hawaii, USA, 2020: pp. 198–207.
[31] S. Nagel, C. Corea, P. Delfmann, Cognitive Effects of Visualization Techniques for Inconsistency
     Metrics on Monitoring Data-Intensive Processes, Information Systems Management. (2020) 1–16.
[32] C. Corea, S. Nagel, J. Mendling, P. Delfmann, Interactive and Minimal Repair of Declarative
     Process Models, in: Proceedings of the BPM Forum 2021 Co-Located with the 19th International
     Conference on Business Process Management (BPM 2021), 2021.