The Rules Engine is the brain of the Proxus platform. It allows you to define complex conditions that are evaluated against every single data packet coming from your devices.

Evaluation Modes
Proxus supports multiple ways to define rule logic, catering to different industrial use cases:
Visual Rules Engine
Build boolean logic trees using a drag-and-drop interface.
Expression Syntax
Write advanced SQL-like expressions for complex multi-tag derivations.
Anomaly Detection
Detect deviations from normal operating behavior using statistical models.
Technical Architecture
Real-Time Pipeline
The Rules Engine is integrated directly into the DispatcherActor on the Edge Gateway. Evaluation happens before data is persisted to long-term storage, allowing the engine to function as a data firewall or prioritizer.
Stateful vs Stateless
While most rules are stateless (evaluating the current packet), anomaly detection and complex expressions can utilize time-windowed buffers to detect trends and rolling averages.
Key Capabilities
- Data Filtering: Use "Block on Match" to prevent sensor noise from reaching your database.
- High Priority Routing: Force critical events to bypass standard queues and reach operators instantly.
- Derived Tags: Calculate efficiency (OEE) or virtual metrics on the fly by combining data from multiple sensors.
- Outbound Connectors: Trigger outbound channels (MQTT, Kafka, HTTP, etc.) when a rule matches. See Outbound Connectors.