rust-rule-engine 1.20.1

A blazing-fast Rust rule engine with RETE algorithm, backward chaining inference, and GRL (Grule Rule Language) syntax. Features: forward/backward chaining, pattern matching, unification, O(1) rule indexing, TMS, expression evaluation, method calls, streaming with Redis state backend, watermarking, and custom functions. Production-ready for business rules, expert systems, real-time stream processing, and decision automation.
Documentation
# Getting Started Examples

Basic examples to get started with Rust Rule Engine.

## Example List

- **grule_demo.rs** - Overview demo of RustRuleEngine, best starting point for beginners
- **fraud_detection.rs** - Real-world use case: fraud detection
- **expression_demo.rs** - Demo of expression evaluation in rules
- **method_calls_demo.rs** - How to call methods from rules
- **generic_method_calls.rs** - Generic method calls demo
- **advanced_method_calls.rs** - Advanced method calls demo
- **inline_rules_demo.rs** - Using inline GRL rules
- **simple_pattern_matching_grl.rs** - Basic pattern matching with GRL

## How to Run

```bash
cargo run --example grule_demo
cargo run --example fraud_detection
# ... other examples
```

## Recommended Order

If you're just starting, run them in this order:
1. `grule_demo.rs` - Understand engine basics
2. `fraud_detection.rs` - See a real use case
3. `expression_demo.rs` - Learn about expressions
4. `method_calls_demo.rs` - Learn how to call methods