In the banking activities, clerking business is an important business, the accounting system needs to process the data based on certain accounting standards (rules). In the company’s old system, business rule was usually hardcoded in business system, however, business rule is not immutable, it is with the market and policy change. Once the business rule changes, the original code also needs to be changed. Unless there is good documentation,it is difficult to know what the business rules are in-use and therefore rules cannot be effectively managed. How to make application logic and business logic separate from each other so as to enhance the flexibility of the system, and how to make business people to effectively manage and maintain business rules in system become urgent problems.Firstly, the problems and challenges that are brought by the flexible business rules are analyzed, then the advantages and features of rules engine are pointed out, and state that rule engine can solve the current problems. Based on it, the overall function of data processing system and its related business rules are discussed, also the function of rule editor, rule compiler, rule execution engine and other major components are analyzed, followed by the system architecture is analyzed. Meanwhile, the main focus is the design and implementation of the visual rules editor (based on eclipse plug-in) and the rule execution engine which is followed by the JSR-94specification. Finally, the analysis on the effect of the system is performed, and the maintainability and flexibility of the system are analyzed and summarized. |