Skip to content

Auto rules engine

ID MOD-090
System SD08
Repo bank-app
Build status Not started
Deployed No

What it does

MOD-090 is the auto rules engine. It stores and applies user-defined rules and implicitly learned rules that override or confirm the base classification from MOD-088.

Rule types

Explicit rules — created directly by the customer: - "This merchant is always a business expense for me" - "Uber rides between 8–9am on weekdays are personal commute (non-claimable)" - "All transactions over $200 at hardware stores are property expenses"

Implicit rules — learned from user corrections: - If a user consistently reclassifies a given merchant from "Personal" to "Business", MOD-090 generates an implicit rule after a configurable number of confirmations and applies it to future transactions automatically, pending a one-time user review of the inferred rule.

Rule priority

Rules are applied in priority order: explicit rules override implicit rules, which override the base model output from MOD-088. All overrides are logged with the rule ID and basis so the customer can audit why a transaction was classified as it was.

Feedback loop

Confirmed and corrected classifications from MOD-090 are fed back to MOD-088 as labelled training examples. This is the primary mechanism by which the classification model personalises over time.

Design phase

This module is in design. Build begins in Phase 2 of the Expense Intelligence Platform. See the Expense Intelligence Platform summary for the full implementation roadmap.


Module dependencies

Depends on

Module Title Required? Contract Reason
MOD-088 Expense classification engine Required contract/events/ Auto rules engine reads and overrides classification outputs from MOD-088; user-confirmed rules feed back into the classification model.

Required by

Module Title As Contract
MOD-088 Expense classification engine Optional enhancement contract/events/

Policies satisfied

Policy Title Mode How
PRI-001 Privacy Policy LOG User-defined and inferred classification rules constitute personal financial data; rule creation, modification, and application events are logged for data minimisation audits and individual access requests.

Capabilities satisfied

(No capabilities mapped)


Part of SD08 — Customer App & Back Office Platform Compiled 2026-05-22 from source/entities/modules/MOD-090.yaml