View

Published 22 November 2026
Last reviewed 22 November 2026
5 min read

Automation or AI: when a rule beats a model

Use a rule when you can write it in two sentences and it covers most cases. Use an AI model where the input is too varied to read by rule, then let a rule decide.

A blue robotic arm and an orange robotic arm working beside machinery in an industrial cell with yellow safety rails.
If a rule can do the job, a rule is cheaper and easier to explain than a model.

Before you add AI to a step, write the rule for it. If the rule fits in two sentences and the exceptions fit on one hand, you have your answer, and it will behave the same way on every run.

Why should a rule be your first choice?

Because a rule can be read, tested and fixed, and a model can only be measured. When a rule is wrong it is wrong in the same way every time, you find the case, change the rule, and it stays fixed. When a model is wrong, the same input may give a different answer tomorrow.

That is not a criticism of models. It is how they work, and three sources say so.

Do tools built to avoid mistakes still make them?

Yes. A Stanford study of AI legal research tools sold on the promise of avoiding errors by searching real sources found they still erred, though less often than a general-purpose chatbot. The figures are in the hallucinations piece, and the preprint is the primary source.

That is one sector with one kind of question, so it is not a rate for your invoices. It shows that a vendor’s design claim and a measured error rate are different things. For how to design around that, see AI hallucinations at work.

How do you test whether a rule is enough?

Work through four questions in order. Each ends in a choice, not a score.

Rule or model: four questions in order

  1. 1.Is the input structured: fields, codes, fixed formats?

    Yes
    Write a rule.
    No
    Go to question 2.
  2. 2.Can a few patterns (keywords, templates, sender lists) read the messy input well enough for most cases?

    Yes
    Use a rule with patterns, and send the rest to a person.
    No
    Go to question 3.
  3. 3.Is a wrong reading cheap to catch and fix?

    Yes
    A model reads, a rule decides what happens next.
    No
    A model drafts and a person checks, or keep it with a person.
  4. 4.Do you have 20 to 30 past cases with known answers?

    Yes
    Run the test on those before you commit to either.
    No
    Collect them first. Without them you cannot compare a rule with a model.

Many operations steps stop at the first or second question, so a model is often not needed.

Here is how the questions sort some ordinary steps. The thresholds and tasks are illustrative.

Illustrative sorting of seven steps
StepUseWhy
Send any order over a set value to a directorRuleA threshold with one right answer
Apply the right VAT rate to a product codeRuleA lookup table, updated when rates change
Check that an invoice total equals its linesRuleArithmetic has one correct result
Read an invoice PDF from a supplier you have not seen beforeModel reads, rule checksLayouts vary, but totals and codes can be validated by rule. See AI document processing
Sort inbound email into complaint, quote or generalModel sorts, rule routesWording varies. Keywords may handle the obvious cases first
Draft a reply to an enquiryModel drafts, person sendsOutput is quick to check, a mistake reaches a customer
Decide whether a complaint earns a goodwill paymentPersonJudgement and money together

The pattern in the middle rows, a model to read and a rule to decide, is the most common one we would expect in an operations path.

What does the model-reads, rule-decides pattern look like?

The model turns messy input into fields. A rule checks those fields and decides the next step. A person sees only what the rule cannot settle.

  • Read. The model extracts supplier, amount and date from an email or PDF into a record.
  • Validate. Rules check the record: is the supplier known, do the lines add up, is the amount inside the approval limit?
  • Decide. A rule routes it: pay queue, query queue, director approval.
  • Exceptions. Anything the rules reject goes to a named person with the original beside the extraction.

The design keeps the unpredictable part small and puts it where a wrong answer is caught before it matters. Where each step belongs is covered in where AI belongs in a business process.

Are rules too brittle for real work?

Sometimes, yes. Real work has exceptions, and a rule set that keeps growing becomes something nobody dares touch. That is the strongest case against our position, and the suppliers agree it is where models help.

OpenAI’s guide names three signs that a workflow has resisted traditional automation: complex decisions with nuanced judgement, rulesets that have become unwieldy, and heavy reliance on unstructured data. If your step shows one of these, test a model.

What should you do before choosing?

  1. 1

    Write the rule in two sentences

    If you cannot, note why: is it messy input, or a judgement call?

  2. 2

    Run it on 20 to 30 past cases

    Count how many it gets right and how many it cannot decide.

  3. 3

    Look at what the rule cannot decide

    If the leftovers are messy input, test a model on those. If they are judgement calls, give them to a person.

  4. 4

    Set the pass mark before you test

    Agree what counts as good enough with whoever owns the step. Baseline and acceptance tests shows how.

Questions people ask

When you can state the rule in a couple of sentences and it covers most cases. Thresholds, lookups, routing by a field and arithmetic checks all fit. A rule gives the same answer for the same input every time, you can test it against a pass mark, and when it is wrong you fix the rule once. Use a model only for the part a rule cannot read.

No. Rules-based automation follows instructions you wrote, so its behaviour is predictable. AI automation uses a model whose output can differ between runs and has an error rate you have to measure. Many good systems combine them: the model reads messy input into fields, and rules check the fields and decide the next step.

Trust it to the degree you have measured on your own cases, and design for the rest. Run 20 to 30 past cases first and count the wrong answers nobody would notice. For decisions that affect money or a person, keep a rule or a named human as the decider, and let the model prepare. This is not legal advice on automated decision-making.

That is a real sign a model may help. Check whether the growth comes from messy input, such as free-text emails, or from judgement calls. Try a model on the cases the rules cannot settle, keep the rules for the rest, and measure the result against your past cases. If the exceptions are judgement, a person is still the better answer.

Further reading

Have a problem this does not solve?

Book a discovery call. Tell us what is slowing the business down, and we will say what we would build and whether it is worth doing.

Book a call

Start here

Tell us what takes your team time.

Leave a few lines and we will reply by email.

Or email [email protected]

Company size

Used to reply to you. See our privacy notice.