Rust-Powered Performance
Native bindings via UniFFI deliver near-native speed. Process thousands of rules in milliseconds with minimal overhead.
GoRules Version 2 is here - redesigned, now with managed cloud.GoRules Version 2 is here!
Watch the launch videoWatchOpen source C# rules engine with native Rust performance. Decision tables, expressions, and rule graphs for .NET applications via NuGet.
Install the SDK, load a decision graph, evaluate - the same JSON your team edits in the visual editor runs in your process.
dotnet add package GoRules.ZenEngineusing GoRules.ZenEngine;
var engine = new ZenEngine(loader: null, customNode: null);
var content = new JsonBuffer(File.ReadAllBytes("decision.json"));
var decision = engine.CreateDecision(content);var context = new JsonBuffer(@"{
""customer"": { ""tier"": ""premium"", ""country"": ""US"" },
""cart"": { ""total"": 150, ""items"": 3 }
}");
var result = await decision.Evaluate(context, null);
Console.WriteLine(result.result); // { "discount": 15, "freeShipping": true }Built for performance and developer experience - native speed with an API that feels at home in your codebase.
Native bindings via UniFFI deliver near-native speed. Process thousands of rules in milliseconds with minimal overhead.
Pre-built native libraries for Windows (x64), macOS (x64/ARM), and Linux (x64/ARM). Just add the NuGet package.
Works with .NET 8+, async/await patterns, and IDisposable. Integrates naturally with ASP.NET Core and other frameworks.
GoRules provides a high-performance business rules engine for .NET applications. The C# SDK delivers native bindings to our Rust core through UniFFI, giving you exceptional evaluation speed while maintaining a familiar, idiomatic C# developer experience.
The engine supports decision tables, expression evaluation, custom node handlers, and full execution tracing. Whether you're building pricing engines, eligibility checkers, or approval workflows in ASP.NET Core, background services, or console applications, GoRules handles the complexity while keeping your code clean and maintainable.
The SDK ships with pre-built native libraries for Windows (x64), macOS (x64/ARM), and Linux (x64/ARM), so there's nothing extra to configure. Just add the NuGet package and start evaluating rules. All processing happens in-process with no external service calls, making it ideal for high-throughput APIs and batch processing scenarios.
See the public Zen Engine benchmarksThe engine is open source and free forever - add the GoRules BRMS when your team needs versioning, approvals, and an audit trail.