Ross ROSS = Recommend OSS · open-source software intelligence for agents

NRules/NRules

Rules engine for .NET, based on the Rete matching algorithm, with internal DSL in C#. observed · 2026-08-28

github.com/NRules/NRules · homepage · C# · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 75
  • Release rhythm 45
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 164
  • age_days: 4328
  • days_rel: 211
  • days_push: 153
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

1649 stars · 282 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

NRules is an open-source production rules engine for .NET based on the Rete matching algorithm, with rules authored in C# via an internal fluent DSL. It acts as an inference engine supporting forward chaining, fact queries, and quantifiers, with packages for rule serialization, testing, and DI container integration.

Use cases

  • encode business rules separately from application logic in .NET
  • build an inference engine with forward chaining in C#
  • implement an insurance quote calculator driven by declarative rules
  • author rules in C# using a fluent DSL instead of external rule scripts
  • unit test rule definitions and expectations
  • serialize rules to and from JSON

When to choose

  • you need a production rules system on the .NET platform
  • you want rules written in C# rather than an external DSL
  • you need efficient Rete-based pattern matching over facts
  • you want rules decoupled from application code in separate assemblies

When to avoid

  • you need a rules engine outside the .NET ecosystem
  • you need simple if/else logic that doesn't justify a rules engine
  • you require externalized rules authored by non-developers in a business language

Facets

library · maturity active

interpreter workflow-automation developer-tools developer-tools backend dotnet cross-platform rules-engine rete-algorithm inference-engine forward-chaining internal-dsl business-rules c-sharp automation

5 sources

Member repositories

RepositoryRoleHealth v2
NRules/NRulesmain70

For agents

markdown · JSON · MCP: product_card(name="NRules/NRules")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem