Business Rule Engine Library
4.2k 2026-04-18
microsoft/RulesEngine
A .NET library for externalizing and managing business logic and rules, enabling dynamic expression evaluation without altering core system code.
Core Features
Externalization of business logic and rules
Extensive dynamic expression support (LambdaExpression)
Flexible rule storage options (e.g., Azure Blob, Cosmos DB, SQL, EF, files)
Simple API for rule execution and evaluation
Detailed rule result reporting via RuleResultTree
Quick Start
dotnet add package RulesEngineDetailed Introduction
This project provides a robust .NET library designed to abstract business rules and policies from an application's core logic. By allowing rules to be defined and stored externally (e.g., in databases or cloud storage) and evaluated dynamically, it ensures that changes to business requirements do not necessitate modifications or redeployments of the core system. This enhances agility, maintainability, and scalability for applications requiring complex, frequently evolving decision-making processes.