Mining Rules from Code: Reasonable or Lunacy?

Author(s)

Business Relationship Manager - Product Lifecycle Management, Chevron Corporation

Is your organization challenged with the need to take an existing legacy system and re-architect it into new technology? But, what happens if that legacy application has no current system documentation, no available application SMEs or business SMEs who you can interview to identify how the existing system works?

The solution is the vision of Business Rules, with emphasis on business rule mining. Business rules are the most essential, non procedural statements behind business policy and requirements. The business rules represent the thinking of business leaders and how the leaders want to implement business policy. Unfortunately, many of those business rules have been automated and lost in program code.

This article is the first of a two part series on Business Rule Mining. This first article highlights when to consider Business Rule Mining as part of your efforts for re-architecting your legacy application or possibly just unleashing and externalizing the business rule assets from your legacy application.

Business rule mining is the process of extracting essential intellectual business content (business rules) from packaged or legacy software, recasting them in natural language, and storing them in a source rule repository for further analysis or forward engineering. The goal is to capture these legacy business rules in a way that the business can validated, control and change them over time.

Let’s explore three important questions when considering business rule mining as part of your project effort: why, when, and what.

1. Why do business rule mining?

Generally, the main reason to consider business rule mining is to gain a basic understanding of how and why an existing system works today, whether or not there is a need to implement new technology. It is important for many organizations to begin understanding and documenting the business rules of the as-is systems because:

  • The pace of technology change will not relent
  • The pace of business change will not relent
  • Organizations that prosper will be those that adapt quickly
  • Business Rules need to be externalized to the business so the business itself can manage them to some extent.

2. When is business rule mining helpful?

The business’s rules today are locked, in bondage, within legacy systems. For many organizations, the first step toward unlocking the intellect of the company is to dig for the existing rules in legacy code. Listed below are some of the circumstances for which business rule mining is helpful:

  • The business wants to understand, document and manage the business rules separate from the application.
  • The business rules need to be documented along with the related processes to fulfill Financial Compliance Reporting (Sarbanes-Oxley).
  • The business wants to re-architect a subset of the application functionality but with the ability to apply changes to the existing business rules over time.
  • The business wants to re-architect the entire system but there is minimal availability from the business to assist in the project.
  • The business needs to consolidate existing applications.
  • IT needs to support company acquisitions.
  • There is no one left who knows the legacy system and there is minimal documentation of the system.

It is important that someone knows what the rules are.

3. What do you need to get started?

As with any project, to be successful, you need to have a well-defined scope and purpose for your project. The scope and purpose will help direct the candidate rules that you are targeting for mining (i.e., mining rules for a particular sub-function of the application, particular state or region, etc.). Along, with good project management practices, the business rule mining approach consists of:

  • Business Rule Mining Methodology
  • Business Rule Mining Tools
  • Legacy software expertise
  • Business Rule analysis and management expertise.

The business rule mining methodology ensures that you do not extract candidate business rule code without reference to its related business process, order or dependency. There are three key phases of a complete business rule mining methodology:

Archeology – The discovery and collection of legacy system artifacts related to project scope and the development of an overall understanding of the system.

Program Inspection – The profiling and interrogating of program code eventually to uncover the declarative business rules implemented and embedded in the program code.

Data Inspection – The interrogating and modeling of system data and metadata to discover data based business rules.

In addition, business rule mining tools can speed the identification of candidate rules as directed by the methodology. It is important to understand not all legacy understanding tools have the functionality necessary for business rule mining.

You will need several kinds of business rule mining expertise. First, you will need expertise in the legacy application code and platform. Second, someone on your project should be experienced in the business rule mining tool, if your project will make use of one. Third, it will be important to have a resource that is knowledgeable in business rule analysis and management to assist in translating the candidate rules from the code statements to the business rule templates. Fourth, you may want to include a resource that will capture related rules from documents or people. A fifth resource may be useful in integrating rules mined from code with rules captured from people and documents. Two other experts to consider is someone responsible for the project glossary (reconciling terms across programs, people, and documentation) and one who administers the source rule repository (which holds the candidate code, translated rules, glossary, and other metadata).

Once you understand the role of business rule mining to your project, the next step is to plan and scope it. So, the second article in this series provides direction in planning your first business rule mining project.

Similar Resources

Understanding the Difference Between a Certificate and Certification

Understanding the Difference Between a Certificate and Certification

Author(s):

Editor & Founder, BPMInstitute.org, BAInstitute.org and DBIZInstitute.org

As professionals seek to advance their careers or pivot to new fields, understanding the variety of learning and credentialing options is essential. At BPMInstitute.org, we often encounter students wondering whether they should pursue a certificate or certification in Business Process Management (BPM). This article is designed to clarify the differences, highlight the benefits of each, and guide prospective students in making the best decision for their career goals.

Enhancing Your Team’s BPM Capabilities: The Value of External Expertise

Enhancing Your Team’s BPM Capabilities: The Value of External Expertise

Author(s):

Editor & Founder, BPMInstitute.org, BAInstitute.org and DBIZInstitute.org

Enhancing Your Team's BPM Capabilities: The Value of External Expertise In today’s dynamic business environment, managing and improving business processes is critical for any organization aiming to maintain a competitive edge. Many companies consider handling Business...

Exploring Shared Data Model and Notation (SDMN) and Its Role in BPM+

Exploring Shared Data Model and Notation (SDMN) and Its Role in BPM+

Author(s):

Editor & Founder, BPMInstitute.org, BAInstitute.org and DBIZInstitute.org

Exploring Shared Data Model and Notation (SDMN) and Its Role in BPM+ Introduction In the evolving landscape of Business Process Management (BPM), the introduction of Shared Data Model Notation (SDMN) marks a significant advancement. As businesses increasingly seek to...

Featured Certificate: BPM Specialist

Everyone starts here.

You're looking for a way to improve your process improvement skills, but you're not sure where to start.

Earning your Business Process Management Specialist (BPMS) Certificate will give you the competitive advantage you need in today's world. Our courses help you deliver faster and makes projects easier.

Your skills will include building hierarchical process models, using tools to analyze and assess process performance, defining critical process metrics, using best practice principles to redesign processes, developing process improvement project plans, building a center of excellence, and establishing process governance.

The BPMS Certificate is the perfect way to show employers that you are serious about business process management. With in-depth knowledge of process improvement and management, you'll be able to take your business career to the next level.

Learn more about the BPM Specialist Certificate

Courses

  •  

 

Certificates

  • Business Process Management Specialist
  • Earning your Business Process Management Specialist (BPMS) Certificate will provide you with a distinct competitive advantage in today’s rapidly evolving business landscape. With in-depth knowledge of process improvement and management, you’ll be able to take your business career to the next level.
  • BPM Professional Certificate
    Business Process Management Professional
  • Earning your Business Process Management Professional (BPMP) Certificate will elevate your expertise and professional standing in the field of business process management. Our BPMP Certificate is a tangible symbol of your achievement, demonstrating your in-depth knowledge of process improvement and management.

Certification

BPM Certification

  • Make the most of your hard-earned skills. Earn the respect of your peers and superiors with Business Process Management Certification from the industry's top BPM educational organization.

Courses

 

Certificates

  • Operational Excellence Specialist
  • Earning your Operational Excellence Specialist Certificate will provide you with a distinct advantage in driving organizational excellence and achieving sustainable improvements in performance.
 

 

OpEx Professional Certificate

  • Operational Excellence Professional
  • Earn your Operational Excellence Professional Certificate and gain a competitive edge in driving organizational excellence and achieving sustainable improvements in performance.

Courses

Certificate
  •  

  • Agile BPM Specialist
  • Earn your Agile BPM Specialist Certificate and gain a competitive edge in driving business process management (BPM) with agile methodologies. You’ll gain a strong understanding of how to apply agile principles and concepts to business process management initiatives.  
 

Business Architecture

 

Certificates

  • Business Architecture Specialist
  • The Business Architecture Specialist (BAIS) Certificate is proof that you’ve begun your business architecture journey by committing to the industry’s most meaningful and credible business architecture training program.

  • Business Architecture Professional
  • When you earn your Business Architecture Professional (BAIP) Certificate, you will be able to design and implement a governance structure for your organization, develop and optimize business processes, and manage business information effectively.

BA CertificationCertification

  • Make the most of your hard-earned skills. Earn the respect of your peers and superiors with Business Architecture Certification from the industry's top BPM educational organization.

Courses

 

Certificates

  • Digital Transformation Specialist
  • Earning your Digital Transformation Specialist Certificate will provide you with a distinct advantage in today’s rapidly evolving business landscape. 
 

 

  • Digital Transformation Professional
  • The Digital Transformation Professional Certificate is the first program in the industry to cover all the key pillars of Digital Transformation holistically with practical recommendations and exercises.

Courses

Certificate

  • Agile Business Analysis Specialist
  • Earning your Agile Business Analysis Specialist Certificate will provide you with a distinct advantage in the world of agile software development.

Courses

Certificate
  • DAS Certificate
  • Decision Automation Specialist
  • Earning your Decision Automation Certificate will empower you to excel in the dynamic field of automated decision-making, where data-driven insights are pivotal to driving business innovation and efficiency.