# youseries/urule

URULE是一款基于RETE算法的纯Java规则引擎，提供规则集、决策表、决策树、评分卡，规则流等各种规则表现工具及基于网页的可视化设计器，可快速开发出各种复杂业务规则。

Repository: https://github.com/youseries/urule
Canonical: https://ross.abutalabs.com/products/urule
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, rule, java-rule, java-rule-engine, chinese-rule, spring, springboo
Last push: 2022-12-10T03:12:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3295, "days_push": 1362, "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 1946, forks 747 (observed 2026-08-28T04:05:57.774480+00:00)

## What it is
URule is a pure Java business rule engine based on the RETE algorithm, offering rule sets, decision tables, decision trees, scorecards, and rule flows. It includes a web-based visual designer for rapidly defining, maintaining, and publishing complex business rules.

## Use cases
- embed a business rules engine in a Java/Spring application
- define decision tables and decision trees visually in a browser
- externalize business logic from code into editable rules
- build scoring and eligibility rules for loan or insurance decisions
- orchestrate rule execution with rule flows
- separate rule maintenance from application deployments

## When to choose
- you need a JVM rule engine with a web-based visual rule designer
- your team prefers Chinese-language tooling and documentation
- you want multiple rule representations (rule sets, decision tables, trees, scorecards, flows) under an Apache-2.0 license

## When to avoid
- you need cross decision tables, complex scorecards, or knowledge-package versioning, which are PRO-only
- you need a non-JVM platform
- you require active maintenance or commercial support from the open-source edition
- you want a lightweight embedded rules DSL without a web designer

## Facets
- artifact type: library
- maturity: maintenance
- function: workflow-automation, developer-tools, web-framework
- domain: developer-tools, backend
- platform: jvm, self-hosted
- tags: rule-engine, rete-algorithm, decision-table, decision-tree, scorecard, business-rules, visual-designer, chinese, automation, spring, web-server

## Member repositories
- youseries/urule (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:57.774480+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-30T03:07:21.497242+00:00, confidence not recorded.
  - readme: https://github.com/youseries/urule (fetched 2026-08-28T04:05:57.774480+00:00, sha e7ee84c875a0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
