Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Documate is now Gavel! Read more about why we’re excited about this rebrand.
RESOURCES
Articles
Rules-Based Automation vs. AI: Which Fits Your Law Practice

Rules-Based Automation vs. AI: Which Fits Your Law Practice

When to use rules-based document automation and when to use generative AI in a law practice, compared on accuracy, audit trail, cost, extraction and ethics.

By the team at Gavel
Published:  
Apr 25, 2024
|  Last updated:  
Nov 3, 2026
Catch off-market terms before you negotiate

Gavel Exec reviews, redlines and drafts contracts inside Microsoft Word, checked against your own playbooks. Start with 25 free queries, no credit card required.

Try Gavel Exec free

AI contract review and drafting in Microsoft Word, with redlines ranked by priority and the reasoning behind each change.

Start a free trial
25 free queries • No credit card required

Use rules-based automation when your firm produces the same type of document from client answers, such as engagement letters, estate plans and residential leases, because the same answers always produce the same document. Use generative artificial intelligence (AI) when you review or negotiate documents someone else wrote, such as a counterparty's nondisclosure agreement (NDA) or a landlord's lease.

Most practices need both, and the two work together: AI can draft the rules, and rules can steer the AI.

Key takeaways

  • Rules-based automation is deterministic. A template with conditional logic returns the same document for the same answers, and every clause traces back to a rule someone wrote.
  • Generative AI handles language no template anticipated, but the same request can return a different answer each time, so a lawyer reviews every output.
  • Rules-based extraction works on fixed layouts such as fillable PDF forms. AI extraction works on documents that vary, such as leases from many landlords, and still needs checking: the best data extraction score in the February 2025 Vals Legal AI Report was 75.1%.
  • Rules-based automation costs build time up front and little per document after that. Generative AI takes little setup, then costs a subscription and review time on every document. Gavel Workflows starts at $83 per month and Gavel Exec costs $160 per user per month.
  • American Bar Association (ABA) Formal Opinion 512, issued July 29, 2024, applies the Model Rules on competence, confidentiality, communication, candor toward the tribunal, supervision and fees to generative AI tools.

Last checked November 3, 2026. Gavel publishes this guide and makes Gavel Workflows, a rules-based document automation product, and Gavel Exec, a generative AI contract review and drafting product. Statutes, ethics guidance and studies are linked to their sources.

What is the difference between rules-based automation and AI?

Rules-based automation follows instructions a person wrote in advance, such as "if the client has minor children, include a guardian nomination." Generative AI uses a large language model (LLM) to predict text from your prompt and documents, so it can read and write language nobody wrote a rule for. Rules give the same output for the same input; generative AI output can vary and needs a lawyer's review.

In a law practice, rules-based automation usually means document automation. A questionnaire collects the facts, and a template uses conditional logic, calculations and variables to assemble a finished Word or PDF document. Our guide to what document automation is covers the parts in detail, and legal expert systems apply the same if-then logic to answer legal questions.

Generative AI tools draft, summarize, answer questions about documents and propose edits. "AI" also covers older machine learning, such as clause classifiers trained on labeled contracts; this guide focuses on generative AI, the subject of ABA Formal Opinion 512. Our AI terminology guide for lawyers defines the related terms.

Gavel's comparison of the two approaches. Last checked November 3, 2026.
Rules-based automationGenerative AI
How it worksRuns if-then rules, calculations and templates that a person builtPredicts text with a large language model from your prompt and documents
Best forDocuments you produce again and again from client factsDocuments you receive, review or negotiate, and first drafts of one-off documents
Same input, same outputYesNot guaranteed. Output can change between runs
Audit trailThe answers, the template version and the rule behind each clauseThe source documents, instructions or playbook, the output and the lawyer's accepted and rejected edits
Ongoing upkeepEdit the rules when the law or your forms changeKeep playbooks current and review every output
Data extractionFixed layouts, form fields and structured intake answersVaried layouts and wording, with a person checking each value
Main riskA wrong or outdated rule repeats in every documentPlausible text that is wrong, including invented citations
Gavel productGavel WorkflowsGavel Exec

Which approach fits which legal task?

Ask who wrote the first draft and how often you produce the document. If it starts from your own template and you produce it often, automate it with rules. If it starts on someone else's paper, or the language changes every time, use generative AI and review the result.

Gavel's recommendations, with the reasons explained in the sections below. Last checked November 3, 2026.
TaskBetter fitWhy
Engagement lettersRules-basedSame structure every time, and required fee terms can be inserted by rule
Wills, trusts and powers of attorneyRules-basedOne intake drives a full document set with conditional clauses
Residential leases you issueRules-basedStatutory limits such as deposit caps can be calculated from the answers
NDAs on your own paperRules-basedRequired notices go in automatically for the right recipients
NDAs on the other side's paperGenerative AIThe language changes with every counterparty
Commercial leases from a landlordGenerative AILong, negotiated and different every time
Pulling terms from a portfolio of existing leasesAI extraction, checked by a personThe same data points sit in different places and wording
Court forms filled from client intakeRules-basedFixed fields map directly to intake answers
Briefs and research memosGenerative AI, with every citation checkedEach case it cites has to be pulled and read

Engagement letters

In California, Business and Professions Code section 6148 requires a written fee agreement when it is reasonably foreseeable that the client's total expense, including attorney fees, will exceed $1,000 (contingency fee agreements fall under section 6147). The agreement must state the basis of compensation, the general nature of the legal services and the responsibilities of attorney and client. A rules-based template can ask for the state and the expected fee and insert those terms whenever the statute applies.

Estate plans

An estate plan is a set of documents built from one set of facts. One intake questionnaire can drive the will, revocable trust, powers of attorney and health care directive, with rules that add a guardian nomination when the client has minor children and a trust for any beneficiary under an age the client picks. Streeter Law Firm in New Mexico creates full estate plans in 30 minutes with Gavel.

NDAs

On your own paper, an NDA is a rules problem. The federal Defend Trade Secrets Act of 2016 added section 1833(b) of Title 18 of the United States Code, which requires an employer to give notice of the Act's whistleblower immunity in any contract with an employee that governs the use of trade secrets or other confidential information, entered into or updated after May 11, 2016. It treats contractors and consultants as employees for this purpose, and the notice can be a cross-reference to a policy document that sets out the employer's reporting policy. An employer that leaves the notice out cannot recover exemplary damages or attorney fees under the Act from an employee who did not receive it. A template rule can add the notice whenever the recipient is an individual employee, contractor or consultant.

When the counterparty sends its own NDA, generative AI review fits better: a tool such as Gavel Exec compares the draft with your playbook and proposes tracked changes. Our guide to AI NDA review covers the playbook positions.

Leases

A firm that issues residential leases for landlord clients can build statutory limits into the template. Since July 1, 2024, California Civil Code section 1950.5 has capped most residential security deposits at one month's rent. Individual landlords (or limited liability companies owned only by individuals) who own no more than two residential rental properties with no more than four units in total may take up to two months' rent. That allowance doesn't apply when the prospective tenant is a service member. A rule can calculate the cap from the rent, the landlord's answers and the tenant's service member status. A commercial lease that arrives from a landlord's counsel is different every time, so generative AI review against your positions fits it better.

Which is more accurate, and which leaves a better audit trail?

Rules-based automation is as accurate as its template: the same answers produce the same document, and you can point to the rule behind every clause. Generative AI can read and draft language no template covers, but its output can vary and can be wrong in ways that look right. Its audit trail has to include a lawyer's review.

Microsoft's Azure OpenAI documentation says that if you ask a chat model the same question multiple times, "you're likely to get a different response," and that even with its reproducible output setting, "Determinism isn't guaranteed."

Legal-specific tools reduce errors without removing them. Stanford and Yale researchers, in a study published in the Journal of Empirical Legal Studies in 2025, found that Lexis+ AI from LexisNexis, and Westlaw AI-Assisted Research and Ask Practical Law AI from Thomson Reuters, each hallucinated between 17% and 33% of the time in tests run in spring 2024, less often than GPT-4 did. In Mata v. Avianca, a federal judge in the Southern District of New York imposed a $5,000 penalty on two lawyers and their firm on June 22, 2023, after they submitted "non-existent judicial opinions with fake quotes and citations" created by ChatGPT.

Rules carry their own risk: a wrong or outdated rule repeats in every document until someone fixes it, so run each template against a known-good document after every change. Keep these records for each approach:

  • Rules-based documents: the intake answers, the template version and the generated document. When a client asks why a clause appears, the answer is the rule and the fact that triggered it.
  • Generative AI output: the source documents, the instructions or playbook, the tool's output and the edits a lawyer accepted or rejected.

Gavel Exec supplies several parts of that record. Gavel Exec is AI contract review and drafting software that runs inside Microsoft Word as an add-in and on the web. Each redline includes its reasoning, suggestions go in as tracked changes that you accept or reject in Word, and each playbook rule passes or fails with a stated reason and proposed changes. Gavel Exec also cites the attachments and project files it relies on. To keep a record of which edits you accepted or rejected, save the marked-up version before you resolve the tracked changes.

How do cost and maintenance compare?

Rules-based automation front-loads the cost: someone has to build the questionnaire and template logic, and after that each new document takes little time. Generative AI takes little setup, then costs a per-user subscription plus a lawyer's review time on every document it touches.

Build time grows with the number of branches in the document. Gavel Blueprint, covered below, shortens it: Gavel's AI automatically structures workflows from your uploaded fillable PDF and Word documents, ready for your review and approval.

Maintenance differs as well. A rules-based template changes only when someone edits it, so a statutory change such as California's deposit cap needs a person to update the rule; every later lease then follows it. Generative AI upkeep is ongoing: playbooks that match your current positions and a review of every output.

Gavel's two products show the two pricing models. Gavel Workflows is priced by plan, from $83 per month, with a 7-day free trial and no credit card; the Lite plan includes one builder seat and 10 workflows (see pricing). Gavel Exec is priced per user: $160 per user per month, or $1,740 per user per year, with 25 free queries per user and no credit card. Paid plans include 1,000 queries per user per month. The monthly plan is billed month to month, with no long-term contract.

Customers report time savings from both. Litson PLLC cut its time from lead to client by 90% with Gavel Workflows. Martin Algie of MIA Contract Lawyers cut first-cut contract review from about 15 hours to about 5 hours per contract with Gavel Exec.

AI vs. rules-based extraction: which should you use to pull data from documents?

Use rules-based extraction when every document shares one layout, such as a fillable PDF form or a standard court form. Use AI extraction when the same information appears in different places and words, such as rent and renewal terms in leases from many landlords, and have a person check the results.

Rules-based extraction reads a fixed position, a named form field or a text pattern, such as a regular expression that matches dates or dollar amounts. It is fast and predictable on documents built from one form, and it breaks when the layout or wording changes. AI extraction uses a model trained on many documents to find the value wherever it appears.

Microsoft's documentation for Azure AI Document Intelligence draws the same line. Its template models rely on "a consistent visual template," and variances in layout "affect the accuracy of your model." Its neural models extract fields "from structured, semi-structured, and unstructured documents," and Microsoft recommends neural models over template models "for higher accuracy" where the documents support them.

AI extraction still needs checking. The Vals Legal AI Report of February 2025 compared legal AI tools with a control group of lawyers answering the same questions without AI. On data extraction, the top tool (Harvey Assistant) scored 75.1% and the lawyer baseline 71.1%. Those numbers call for a review step on every extracted value that feeds a deadline, a payment or a filing.

When you control the document, you can skip extraction: collect the facts as structured answers at intake and generate the documents from them. Gavel Workflows generates complete document sets from one set of answers, so a fact entered once at intake appears in every document that needs it. When the documents come from outside, such as a stack of vendor agreements you need to compare, Gavel Exec runs batch analysis across many documents in its web app and cites each source.

Can you combine rules-based automation and generative AI?

Yes, in three common ways: AI can draft the rules for a template, rules can steer an AI review, and one matter can move from one tool to the other as it goes from your first draft to the other side's markup.

AI that builds rules-based workflows

Building templates is the main cost of rules-based automation, and AI can do the first pass. With Gavel Blueprint, you upload your documents and Gavel's AI suggests custom questions to generate your Word and fillable PDF forms. It automatically structures workflows from your uploaded fillable PDF and Word documents, ready for your review and approval. Once you approve a workflow, it runs on rules, so the finished documents keep the predictability of document automation.

Rules that steer AI review

A contract playbook is a set of rules written in plain language: the positions you accept, the ones you push back on and what to propose instead. In Gavel Exec playbooks, each rule has a name and a description of what to verify. The AI checks the open agreement against each rule, and a failed rule shows the reason and proposed changes. You can generate rules from checklists, spreadsheet playbooks or signed agreements, then test them against an agreement you consider correct.

Rules for your paper, AI for theirs

On an NDA, the firm generates its own form from a short questionnaire in Gavel Workflows, with the trade secret notice and governing law set by rule. When the counterparty returns a markup or sends its own form, Gavel Exec reviews it against the firm's NDA playbook in Word. Our guide to redlining contracts with AI walks through the review side.

What does ABA Formal Opinion 512 require when you use generative AI?

ABA Formal Opinion 512, issued July 29, 2024, applies the existing Model Rules of Professional Conduct to generative AI tools. It asks lawyers to check output, protect client information, communicate with clients, make only accurate statements to courts, bill fairly and supervise how the firm uses these tools.

  • Competence (Rule 1.1): review output with a level of checking that fits the task. The opinion says the degree of independent verification "will necessarily depend on the [generative AI] tool and the specific task that it performs."
  • Confidentiality (Rule 1.6): before you put information relating to the representation into a generative AI tool that learns from its inputs, you need the client's informed consent, and general boilerplate in an engagement letter is not enough.
  • Communication (Rule 1.4): you must disclose your use of generative AI if the client asks, or if the engagement agreement or the client's outside counsel guidelines require it. Otherwise the facts of each matter decide, and you must consult the client when the tool's use bears on the basis or reasonableness of your fee or when its output will influence a significant decision in the representation.
  • Candor toward the tribunal (Rules 3.1, 3.3 and 8.4(c)): review generative AI output, including its analysis and citations, before you file it. The opinion lists "citations to nonexistent opinions, inaccurate analysis of authority, and use of misleading arguments" among the problems seen so far, and notes that some courts now require lawyers to disclose generative AI use.
  • Fees (Rule 1.5): if you bill hourly, you may bill for time spent entering information into the tool and reviewing its output. You may not bill a client to learn a tool you will use regularly for clients. If a client asks you to use a specific tool you don't know, billing for the time to learn it may be appropriate, under billing terms you agree on first. The reasonableness factors of Rule 1.5(a) also apply to flat and contingent fees: if a tool lets you finish much faster, charging the same flat fee as without it may be unreasonable.
  • Tool costs (Rule 1.5): a tool that works like general office equipment, such as a grammar checker built into your word processor, is overhead that you don't charge to the client unless you disclose otherwise in advance. When a third-party service charges per use, for example to review thousands of a client's contracts, the opinion says "it would ordinarily be reasonable for the lawyer to bill the client as an expense for the actual out-of-pocket expense incurred."
  • Supervision (Rules 5.1 and 5.3): lawyers with managerial authority must set clear policies on the firm's permitted use of generative AI, and supervisory lawyers must make reasonable efforts to ensure that the firm's lawyers and nonlawyers comply with their obligations when using these tools.

The opinion focuses on generative AI. A rules-based template that assembles text you wrote neither learns from client data nor invents content. You remain responsible for every document it produces. Our list of security questions to ask legal software vendors covers the data terms to check before you upload anything.

How do you decide which approach to use?

Sort your work by who writes the first draft and how often the document repeats. Then test one tool on each side with a real, closed matter.

  1. List what you draft and what you receive. Pull a month of matters and note each document type, who wrote the first draft and how often it came up.
  2. Send repeat documents on your own paper to rules. Engagement letters, estate planning sets, standard leases and your NDA form are the usual first workflows.
  3. Send third-party paper and one-off drafting to generative AI. Counterparty contracts, landlord leases and first drafts of unusual clauses fit here, with a lawyer reviewing every change.
  4. Write the non-negotiables down as rules. Statutory notices, required fee terms and fallback positions belong in a template or a playbook, so they apply every time whichever tool runs.
  5. Check the data terms. Ask for a System and Organization Controls (SOC) 2 Type II report, a commitment not to train on your data and Zero Data Retention agreements with the vendor's AI model providers, and get informed consent before client information goes into a tool that learns from its inputs.
  6. Pilot both on a closed matter. Build one workflow during the Gavel Workflows 7-day free trial, run one contract review with Gavel Exec's 25 free queries and compare the time with your last manual version.

On step 5, Gavel Exec holds SOC 2 Type II certification, has Zero Data Retention agreements with its AI model providers and does not use customer data to train AI models.

Frequently asked questions

Is rules-based automation a type of AI?

Some writers group rules-based expert systems under AI, and others reserve the term for systems that learn from data. Rules-based automation applies rules a person wrote and produces the same document for the same answers. Workflows in Gavel Workflows run this way, including workflows that Gavel Blueprint's AI structured and you approved.

Is generative AI more accurate than document automation?

For documents built from your own templates, document automation is more reliable because the same answers always produce the same document. Generative AI is the better tool for language no template anticipated, such as a counterparty's contract, with a lawyer reviewing the result.

What is the difference between AI extraction and rules-based extraction?

Rules-based extraction reads fixed positions, form fields or text patterns, so it suits documents with one layout, such as fillable PDF forms. AI extraction finds the same information across different layouts and wording, and a person should check every value it returns.

Can AI build a document automation template?

Gavel Blueprint does this: upload your documents, and Gavel's AI suggests custom questions to generate your Word and fillable PDF forms and structures workflows from them, ready for your review and approval. After you approve a workflow, it runs on rules and produces the same documents for the same answers.

Does ABA Formal Opinion 512 apply to document automation?

The opinion addresses generative AI tools, and its footnote 3 says many of the same professional responsibility concerns arise with other AI tools. Your duties of competence and supervision cover every document a rules-based template produces, so test templates and review what they generate.

How much do rules-based automation and generative AI tools cost?

Gavel Workflows starts at $83 per month, with a 7-day free trial and no credit card. Gavel Exec costs $160 per user per month, or $1,740 per user per year, with 25 free queries per user and no credit card.

Related reading: what document automation is, the best legal document automation software, how to redline contracts with AI and our AI terminology guide for lawyers. To automate the documents you produce, start a 7-day Gavel Workflows trial. To review the contracts you receive, try Gavel Exec free with 25 queries and no credit card.

Articles

Claude for Lawyers: How Law Firms Use Claude (2026 Guide)

What Claude offers lawyers and law firms in 2026: which plan to buy, how client data is handled, Claude for Legal plugins, Cowork and Claude's limits.

Read More
Guides

Best Client Intake and CRM Software for Law Firms

Client intake and CRM software for law firms compared by firm size: what each tool does, what it costs and how it hands off to documents.

Read More
Articles

Gavel Reviews on Reddit: What Lawyers Say About Gavel Exec and Gavel Workflows

28 verbatim Reddit comments about Gavel Exec and Gavel Workflows from r/LawFirm, r/legaltech and r/Lawyertalk, grouped by topic, each linked to its thread.

Read More

Supercharge your practice with bi-weekly tips.

Subscribe to our newsletter to receive legal tech trends, automation guides, customer interviews, and more.