Rules Before Model: How to Choose Between Automation and AI
The pricing calculation in our proposal generator wasn't done by people or by a model. It was done by rules: line items, discounts, taxes, extra costs — all pulled from a table. Rules don't make arithmetic mistakes, don't get tired by Friday, and don't invent a line item that isn't in the price list.
It's the boring part of the system, and it delivered most of the value. The question worth asking before you pick a tool is this: does this task have a single correct answer you can write down as a rule — or not? The answer determines not just the cost of building it, but who is accountable for the error.
The line isn't drawn by task complexity — it's drawn by the nature of the correct answer. If there's one correct answer and you can write it down, the task belongs to deterministic automation: cheaper, reproducible, and with clear accountability. A language model earns its place where multiple answers are valid and choosing between them requires interpretation. You can mix both classes in one workflow, but only with an explicit boundary between them.
Three Signs a Task Doesn't Belong to a Model
Three questions make a task easy to check, and you can answer all three before choosing a vendor. Each one rules out an entire class of projects that would otherwise go down the expensive path.
There's one correct answer, and it's verifiable. The cost of an order given a set of line items and a discount is a single number. A deadline date is a single date. Whether a counterparty has an active enforcement proceeding against it is yes or no. In tasks like these, a model doesn't add quality — it adds variance: it might give the right answer, or it might give a plausible one. A rule gives the same answer on the same input every time, and that's its defining property, not a limitation.
An error has a cost and an owner. A calculation error comes out of margin, a deadline error comes as a penalty, a wrong-details error sends a payment to the wrong place. When a rule makes the error, the post-mortem takes minutes: you open the rule, read it, fix it, and the error won't recur. When a model makes the error, the post-mortem runs into a question with no short answer — why it answered differently this time.
The result has to match on repeat. An internal document that goes out to a client, a report for a manager, an entry in a system of record — anywhere a result gets compared to the previous one, reproducibility matters more than flexibility. Two similar requests should produce two identical answers, or the difference between them becomes the subject of discussion instead of the work itself.
| What needs to be done | What handles it | Who's accountable for the error |
|---|---|---|
| Calculate cost from a price list and discounts | Rule | The rule's author — the error is reproducible |
| Check a counterparty against a registry | Rule plus integration | The integration owner |
| Block sending a document without contact details | Required field | No one — sending is blocked |
| Draft an explanation for a line item in an estimate | Model | The person who approved the text |
| Parse an inbound email for meaning and intent | Model | The human in the approval loop |
| Select a reply template based on what the inquiry says | Model with guardrails | The process owner — measured by the share of wrong picks |
The third column matters more than the first two. In the deterministic part, accountability is named and locatable; in the probabilistic part, it's distributed and needs a mechanism of its own. Projects that skip this question at the start get stuck on it later.
It's worth naming what this test doesn't settle. It doesn't answer whether automation is worth doing at all: a task with one correct answer might run once a quarter and not justify a single hour of development. And it doesn't remove the hardest part of the work — figuring out what the rule actually is. In our case, formalizing the cost calculation took longer than coding it: it turned out three managers each had a different idea of what base the discount was calculated from, and nothing had ever surfaced that fact before we built the system.
That's a typical finding. A rule that "everyone already knows" splits into several conflicting versions the moment you try to write it down, and that exercise alone delivers value — regardless of what ends up handling the task.
Why Most AI Pilots Never Reach the Bottom Line
The gap between a demo and an actual return has been measured by several independent groups, and the numbers agree on direction even though the methods differ.
About 95% of organizations that invested in enterprise generative AI saw no measurable return. The authors attribute this not to model quality but to how these systems are deployed: they don't retain feedback, don't adapt to context, and don't improve over time.
This report deserves a separate note. It got cited widely in the press, and the retellings distorted the sample size — different numbers replaced the actual 52 interviews and 153 surveyed executives. Check it against the PDF itself, not against news coverage of it; and it doesn't compare generative AI to deterministic automation — that connection is mine, not the report authors'.
Only 39% of companies attribute any measurable impact on operating profit to AI, and for most of them that impact is under 5% of EBIT. Roughly two-thirds of organizations haven't yet started scaling AI company-wide.
The limitation here is obvious, and I'm the one flagging it, not a critic of the piece: these are executive self-reports, and the firm running the survey sells AI implementation consulting. The method and sample are disclosed transparently, so the number is usable — but as market participants' testimony about themselves, not as a measurement.
What Deterministic Automation Cost Before Any AI
Rules have their own measured track record, and it's useful precisely as a baseline. RPA got deployed in the same places — document workflows, back office, request processing — where language models are being introduced today.
74% of surveyed companies had already implemented RPA, and those that took it through to results reported an average cost reduction of 32%. At the same time, the average payback period in that same report rose from 16 to 22 months.
This source is four years old, and that's a deliberate choice: I need a structural fact about how mature rules-based automation was before the generative AI boom, not breaking news. The data is self-reported and not independently audited, and the payback period growing from 16 to 22 months shows that rules have limits too — the report doesn't dress up the picture.
How Rules and Models Work Together in One Workflow
In practice the choice is rarely either/or. In a working system both classes sit side by side, and the value comes from an explicit boundary between them, not from one winning out over the other.
The order of these stages isn't decorative. Rules come before the model because it's cheaper to reject an obviously incomplete input before you've paid for a model call on it. Human-in-the-loop (a setup where a person approves or rejects the decision) belongs where an error costs money, not where it merely looks scarier.
And a separate point about measurement. Corrections a human makes should feed back into the evals (a set of reference tasks used to test the model). Otherwise, six months from now, no one will be able to say whether things got better or worse — there will be nothing to compare against.
A Sequence of Steps That Saves Budget
Break the process into decisions
Not into stages — into the points where something gets chosen. For each point, answer: is there one correct answer, or many?
Cover everything unambiguous with rules
Calculations, validations, required fields, routing by formal criteria. This is cheap and gets built faster than you can select a vendor.
Measure what's left
After the first step, the task often shrinks so much that a model is needed in one place instead of five. Sometimes in none.
Build measurement for what remains
An eval set, the share of human corrections, the refusal rate. Without these three numbers you can't tell improvement from luck.
A model placed on top of a process that has no rules inherits every one of its defects and adds one of its own: now the error can't be reproduced.
Frequently Asked Questions About Rules vs. AI
How do I know whether a task needs a language model or rules are enough?
Ask one question: does this task have one correct answer, or many valid ones? Calculation, registry lookups, routing by a formal criterion — one answer, so it's a rule. Drafting text, parsing a free-form email, choosing a response based on what an inquiry means — many valid answers, so it's a model. If you can't answer the question, the task isn't defined precisely enough to automate yet.
Is deterministic automation obsolete now?
No, the division of labor changed. You used to have to formalize an entire process, or you couldn't automate it at all, and that ruled out most tasks. Now you formalize the verifiable part and hand the rest to a model. The scope of what's automatable grew; the requirement for reproducible calculations stayed the same.
Who is accountable for a model's error in a business process?
Whoever defined where it's allowed to operate, and whoever approved the result. In practice that means three things: a named process owner, a documented list of the points where a human approves the decision, and error tracking with a threshold that halts the workflow. If none of the three exist, accountability isn't distributed — it just hasn't been assigned.
Where do I start if the AI budget is already approved?
Start by inventorying the decisions in a single process, not by picking a platform. Take the process with the most manual work, list every decision point, and mark each one as unambiguous or ambiguous. You'll usually find that three-quarters of the points are unambiguous, and it's smarter to split the budget: most of it toward rules and integrations, a smaller share toward a model for what's left.
The rules-based calculation mechanics, the required fields, and sending from a deal record come from the product description of Alego.Digital's own proposal generator. The counterparty-check workflow against the enforcement proceedings registry, with owner notification and the result logged to the CRM, comes from the description of a second in-house product from the same period. These are internal materials from the author's own company; they haven't been verified by an independent party and are presented as an illustration of the mechanics. The mixed-workflow example in the diagram is a generalization of practice, not a description of one specific deployment.
- MIT Project NANDA. The GenAI Divide: State of AI in Business 2025, August 2025. nanda.media.mit.edu
- McKinsey & Company (QuantumBlack). The State of AI: Global Survey, November 5, 2025. mckinsey.com
- Deloitte. Automation with intelligence: 4th Global Intelligent Automation Survey, 2022. deloitte.com