# j-easy/easy-rules

The simple, stupid rules engine for Java

Repository: https://github.com/j-easy/easy-rules
Canonical: https://ross.abutalabs.com/products/easy-rules
Homepage: https://github.com/j-easy/easy-rules/wiki
Language: Java
License: MIT
License Family: permissive
Topics: java, rules-engine, rule-engine, expression-language, business-rules
Last push: 2024-05-29T20:13:50+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4924, "days_push": 826, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5258, forks 1103 (observed 2026-08-28T04:09:13.798416+00:00)

## What it is
Easy Rules is a lightweight Java rules engine that provides a Rule abstraction with conditions and actions plus a RulesEngine API to evaluate and execute them. It supports POJO-based annotation rules, composite rules, and expression languages like MVEL, SpEL, and JEXL.

## Use cases
- evaluate business rules in a java application
- build a lightweight rules engine without drools
- define conditional logic with annotations on pojos
- compose complex rules from simple ones
- express rules with mvel or spel expressions
- implement if-then decision logic declaratively

## When to choose
- you need a simple, lightweight rules engine in Java with minimal learning curve
- you want POJO-based rules with annotation or fluent API definitions
- you prefer expression-language rules (MVEL, SpEL, JEXL) over heavyweight engines like Drools

## When to avoid
- you need a project under active development - it is in maintenance mode since December 2020 with only bug fixes
- you need advanced rules engine features like RETE networks, inference chaining, or rule flows
- you are not on the JVM

## Facets
- artifact type: library
- maturity: maintenance
- function: workflow-automation, developer-tools
- domain: developer-tools, backend
- platform: jvm
- tags: rules-engine, business-rules, expression-language, mvel, spel, jexl, pojo, annotations, automation

## Member repositories
- j-easy/easy-rules (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:13.798416+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:59:31.598451+00:00, confidence not recorded.
  - readme: https://github.com/j-easy/easy-rules (fetched 2026-08-28T04:09:13.798416+00:00, sha cafff4f4f726)
  - homepage: https://github.com/j-easy/easy-rules/wiki (fetched 2026-08-29T08:54:27.289285+00:00, sha 402d4ad5c66b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
