Secure Drool Rule Conversion to Human-Readable Spreadsheets
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Maintaining policy rules as software codes, such as Drool rules, is a complex and inefficient process requiring technical knowledge, leading to cumbersome communication between developers and policy experts.
Innovation Solution
A method and system that obfuscate Drool rule codes using machine learning models to convert them into human-readable spreadsheets, involving obfuscation, decomposition, logic simplification, truth table creation, and decision table construction, ensuring data security by masking sensitive information.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Extent of automation
If policy rules are maintained as software codes (Drool rules), then the system can execute policies automatically, but the complexity of understanding and maintaining the rules increases significantly
Solution Approach 1:
The patent introduces an intermediary conversion layer that translates between code format (Drool rules) and human-readable format (spreadsheets). The system converts Drool rules to spreadsheets for human understanding and modification, then converts back to executable code, eliminating the need for developers to directly maintain complex rule codes while preserving automatic execution capability
Solution Approach 2:
The patent creates a copy of the policy rules in a different format (spreadsheet representation) that is easier to understand and modify. This copy allows policy experts to work with simplified representations while the original code maintains its execution functionality, resolving the contradiction between automation and complexity
2Reliability
If developers maintain Drool rules, then the system can be programmed with precise logic, but the ease of operation decreases due to required technical knowledge
Solution Approach 1:
The spreadsheet serves as an intermediary interface between policy experts and the execution system. It provides a user-friendly format for defining policies without requiring knowledge of Drool syntax or Java-like code structures, while maintaining precise logic through automated conversion to executable rules
Solution Approach 2:
The patent replaces the mechanical process of manually writing and maintaining complex code with an automated conversion system. The system automatically translates spreadsheet inputs into executable Drool rules, eliminating the need for developers to manually program policies while preserving logical precision through the conversion algorithms
3Measurement precision
If the conversion process involves multiple steps (obfuscation, decomposition, logic simplification), then the accuracy of the converted spreadsheet increases, but the processing time increases
Solution Approach 1:
The system performs preliminary obfuscation of the Drool rules before conversion to protect sensitive information. This preliminary action is performed in advance and enables subsequent processing steps to work with sanitized data, ensuring security while maintaining conversion accuracy through the multi-step process of decomposition and logic simplification
Data Source
AI summary
A method and system for automatically converting a software rule code specifying a policy rule into a human comprehensible document are disclosed. The method includes receiving the software rule code; obfuscating the software rule code prior to submission to a machine learning (ML) model; decomposing the obfuscated software rule code into at least one then block and at least one when block; performing code logic simplification on the at least one then block for separating the at least one then block into at least one logic and at least one action; creating a truth table using the at least one logic; constructing a decision table by combining the truth table, the at least one when block and the at least one action; and outputting the human comprehensible document for display on the display screen.


