Powerful Features
Everything you need to define, test, and execute complex business rules in a maintainable way.
Decision Tables
Decision tables provide a tabular way to represent complex business logic. Each column represents a rule, with conditions at the top and actions at the bottom. This format is intuitive for both policy experts and developers.
- Conditions: Boolean expressions that determine when a rule fires
- Actions: Operations executed when conditions match
- Table Types: BALANCED, FIRST, or ALL execution modes
Entity: Person
- name: string
- age: integer
- income: decimal
- dependents: Person[]
Entity: Application
- applicant: Person
- submitted_date: date
- status: string Entity Data Dictionary
Define your data model in Excel using the Entity Data Dictionary (EDD). Specify entities, attributes, their types, and relationships. DTRules automatically maps these to Java objects at runtime.
- Support for primitives, arrays, and entity references
- Automatic Java object mapping
- Default values and validation rules
Expression Language
Write conditions and actions in EL (Expression Language) - a readable syntax designed for policy experts. Built with ANTLR 4 for robust parsing and clear error messages.
- 179+ operators for math, boolean, string, date, and array operations
- Human-readable syntax that policy experts can validate
- Compile-time validation catches errors before runtime
// Conditions
applicant.age >= 18
applicant.income < poverty_level * 2
count of applicant.dependents > 0
// Actions
set application.eligible = true
add applicant to eligible_list
perform Calculate_Benefits High Performance
The Go implementation is optimized for production workloads with zero-allocation hot paths.
More Features
Tree Visualization
Visualize decision table call hierarchies as interactive tree diagrams in the UI.
Built-in Testing
Comprehensive test harness for validating rules with detailed execution traces.
Deterministic
Same inputs always produce same outputs. Essential for compliance and auditing.
Excel Integration
Define all rules in familiar Excel spreadsheets. No coding required for rule authors.
REST API
Full REST API for rule execution, making integration easy with any language or platform.
Visual UI
Modern React-based UI for editing decision tables, entities, and testing rules.