Lesson 0.1Lesson 0.1 · The Compliance Problem
From Reading the Rulebook to Running It
Every building must satisfy a vast, tangled body of regulations - the National Building Code, local byelaws, fire rules, accessibility standards, zoning limits - and today a human being reads them, holds them in their head, and manually checks the drawings against them, slowly and inconsistently; rules-as-code asks a different question: what if the rulebook were written so a computer could read it, and the design could be checked by running it - not to replace the professional's judgement, but to catch the checkable things instantly and early
Every building must obey a mountain of rules. Today a person reads that mountain and checks the drawings by hand. What if the design could just be run against the rulebook?
Consider what it actually takes to know whether a building design is legal. It must satisfy an enormous, overlapping body of regulation: the National Building Code with its thousands of provisions, the local municipal building byelaws and development-control regulations, fire-safety rules, accessibility standards, structural and services codes, zoning and setback limits, and more. Today, the way a design is checked against all of this is fundamentally manual: a qualified human being reads the relevant rules, holds them in their head, looks at the drawings, and works out - clause by clause, room by room - whether the design complies. A plans-examiner at the approving authority does the same from the other side. This is slow (weeks of a professional's time, and often long approval queues), it is inconsistent (two experts, or two examiners, genuinely disagree about the same rule), and it is error-prone (a missed clause, a mis-added corridor width, a fire-exit travel distance no one recalculated). Many expensive, late and even dangerous problems trace back to a compliance issue that a tired human simply did not catch in a mass of drawings.
Rules-as-code asks a deceptively simple question: what if the rulebook were not only written in prose for humans, but also encoded as logic a computer could read - and the design, held as a structured digital model, could be *checked by running it* against those encoded rules? Instead of a person laboriously comparing a drawing to a clause, the computer reads the model, applies the encoded rule (is every corridor at least the required width? is any fire-exit travel distance too long? does the ramp exceed the maximum slope?), and flags what looks non-compliant - in seconds, consistently, and early enough to fix cheaply. This is the field of automated compliance and rules-as-code: turning regulation from something you *read and remember* into something you can partly *run and check*. It is a genuinely powerful idea that is already real in parts - and, this course insists from the first page, one that is badly over-promised, because a great many rules are ambiguous, contextual or judgement-laden and cannot be reduced to code at all, and because an automated check is never a legal approval. The whole skill is knowing exactly which rules can be run, which cannot, and why the human professional and the approving authority must always stay accountable.
Read-and-remember -> read-and-RUN. Encode the checkable rules + a structured model = fast, consistent, early checks. But judgement stays human, and a check != approval.
The compliance problem - vast rules, checked by hand
To see why rules-as-code matters, name the problem it addresses. Building regulation is one of the largest, most fragmented bodies of rules a professional must navigate. A single project may be governed by the National Building Code of India (a vast document covering structure, fire, services, accessibility and more), the state and municipal building byelaws, the local development-control or development-plan regulations (setbacks, ground coverage, floor-space index, height limits), fire-service requirements, accessibility standards, environmental clearances, and various IS standards - each written separately, updated on its own schedule, and sometimes in tension with the others. No human holds all of it perfectly in mind.
And the way this mountain is checked is almost entirely manual. During design, the architect and consultants check their own work against the rules they can remember or look up - a laborious, interrupted process that competes with actually designing. At submission, a plans-examiner at the municipal authority or a fire officer reads the drawings and mentally re-runs the same checks from the outside, deciding whether to approve. Both sides are doing the same fundamentally human task: reading regulation, interpreting it, and comparing it clause by clause against a design. This manual process has three chronic weaknesses. It is slow - self-checking eats designer time, and approval queues can stretch for weeks or months, delaying projects and inflating cost. It is inconsistent - the same rule genuinely gets read differently by different professionals and different examiners, so compliance can feel arbitrary and outcomes depend on who checks. And it is error-prone - in a set of hundreds of drawings and thousands of clauses, a human inevitably misses things: an under-width corridor, an over-long travel distance to a fire exit, a ramp too steep for a wheelchair, a setback encroached by half a metre. Some of these are caught late at great expense; some are not caught at all and become safety risks. This slow, inconsistent, error-prone manual checking of a vast rulebook is exactly the problem automated compliance sets out to ease - not by removing the human, but by letting a computer handle the parts that are genuinely mechanical.
Vast rules (NBC + byelaws + fire + accessibility + zoning...) x manual human checking = SLOW + INCONSISTENT + ERROR-PRONE. That is the problem.
The rules-as-code idea - read and run, not read and remember
The core move of rules-as-code is to change what form a regulation exists in. Today a rule lives as prose written for humans: 'the minimum clear width of a corridor in an assembly building shall be 2.0 metres' or 'the travel distance to the nearest exit shall not exceed 30 metres'. A human reads that sentence, understands it, and applies it by hand. Rules-as-code adds a second form of the same rule: logic written for machines - a structured, unambiguous encoding that a computer can evaluate, such as (in effect) 'for every corridor in an assembly occupancy, check that clear_width is greater than or equal to 2.0 m; if not, flag it'. Now the rule can be *run*: point the computer at a structured digital model of the building, and it applies the encoded rule to every relevant element automatically.
This pairs with the other half of the field, automated code checking: the design must exist not only as drawings but as a structured, machine-readable model (typically a BIM model) in which a corridor knows it is a corridor and knows its width, a door knows its clear opening, a room knows its occupancy and area. When you have encoded rules on one side and a structured model on the other, a checking engine can compare them - reading each rule, finding the relevant elements in the model, testing the condition, and producing a report of what passes, what fails, and what it could not determine. The promise is compelling: checks that took a human hours or days run in seconds; they run the *same way every time* (consistency); and, crucially, they can run *early and often* during design, so a designer gets feedback while the design is still cheap to change, instead of discovering a violation at submission. This is the genuine, real core of automated compliance - and it already works well for the subset of rules that are clear, quantitative and checkable against model data. The rest of this course is about that subset, its boundaries, and the large, important territory of rules that lie beyond it.
The honest part: many rules cannot be coded, and a check is not an approval
No field in this area is more over-promised than 'automatic compliance', and an honest course draws the boundary sharply on page one. The genuine value is real: for clear, quantitative, checkable rules - minimum widths, maximum travel distances, ramp slopes, setback distances, area and coverage calculations, required counts of fixtures or exits - encoding and automatic checking work well and deliver real speed, consistency and early feedback. But a great deal of regulation is not like that, and cannot be reduced to code without loss. Many rules are ambiguous or use judgement-laden terms ('adequate' ventilation, 'suitable' access, 'reasonable' provision) whose meaning is genuinely contested and context-dependent. Many are performance-based ('the structure shall safely resist the design loads') and require engineering analysis and professional judgement, not a width check. Many require information not in the model or facts about the world (soil, neighbours, use in practice). Many involve interpretation - deciding which rule even applies, or how two conflicting rules reconcile - which is exactly the expert work a plans-examiner and a designer do, and which no current system does reliably. So a large, important part of compliance is inherently human, and pretending otherwise is dangerous.
And there is a second, non-negotiable boundary: an automated check is not a legal determination of compliance, and never an approval. When a checking tool reports 'pass', it means the encoded rules it could evaluate did not find a flaggable problem in the data it was given - not that the building is legal. The encoded rule may be wrong or out of date; the model data may be incomplete or mis-classified; the uncheckable rules are untouched; and the authority, not the software, grants approval. So the automated check is best understood as a powerful assistant that finds likely issues fast and early, radically reducing the mechanical burden and the rate of missed clauses - while the qualified professional of record and the approving authority remain fully accountable for whether the design actually complies. The competent stance is neither the vendor's ('automatic compliance, no more manual checking') nor the sceptic's ('regulation is too messy, ignore it'), but the disciplined one: automate the checkable, keep the judgement human, and never mistake a green tick for a legal approval.
Checkable (widths, distances, slopes, areas) -> automate well. Judgement (adequate, reasonable, performance, interpretation) -> stays human. And a check != an approval.
What this course teaches - and what it defers
This course builds automated-compliance literacy as a practical, honest design skill. You will start with the compliance problem - from reading the rulebook to running it, what rules-as-code means, the landscape, the limits (Module 0); then why automate compliance - the cost of manual checking, consistency and error, speed and early feedback, the caveats (Module 1); understanding building regulations - what codes are, how rules are written, prescriptive versus performance, the ambiguity problem (Module 2); rules as code - encoding a rule, the rule-as-code idea, machine-readable regulation, who writes the code (Module 3); automated code checking - model-based checking, how checking works, what can and cannot be checked, the tools (Module 4); the data it needs - the model as data, data quality and checkability, classification and standards, garbage in garbage out (Module 5); across compliance domains - accessibility, fire and life safety, zoning and planning, energy and sustainability (Module 6); in the real workflow - where it fits in design, self-checking before submission, the approval process, automated permitting (Module 7); building and governing the rules - translating law to logic, keeping rules current, who is accountable, open versus proprietary rules (Module 8); reality, limits and honesty - compliance-washing, the interpretation gap, when judgement is required, automation bias (Module 9); and practice and the future - the designer's role, getting started, India, becoming compliance-literate (Module 10).
One firm boundary runs through all of it. Automated compliance checking is a tool to help find likely issues and give early feedback - it is emphatically not a legal determination of compliance and not an approval. This course teaches the principles and design judgement, and defers every binding result - whether a design actually complies, the authoritative interpretation of any regulation, and legal responsibility for compliance - to the qualified professional of record, the approving authority, and the governing law itself (the National Building Code of India, the applicable local building byelaws and development-control regulations, and the relevant IS standards). The authoritative rule is always the actual code, byelaw or law, never its encoded version; any tool or rule named here is illustrative and fast-moving. Studio Matrx is free and not-for-profit, and this course is written to be rigorous and honest - not a compliance-automation sales pitch but a clear, critical grounding in rules-as-code, mindful of the Indian context where approvals are often manual and discretionary, where online single-window and common-application systems are emerging, and where the National Building Code and local byelaws govern. Understand the compliance problem, the read-and-run idea, the sharp line between the checkable and the judgement-laden, and above all that automation augments and never replaces the accountable professional and authority - and you will be able to use automated compliance where it genuinely helps and respect its limits everywhere else.
Checkable vs judgement-laden
Which rules can be coded
Clear quantitative rules (widths, distances, slopes, areas, counts) automate well; ambiguous, performance-based and interpretation-heavy rules stay human. Know which is which. Modules 2.4, 4.3, 9.2.
A check is not an approval
What an automated 'pass' means
It means only that the encoded rules the tool could evaluate found no flaggable issue in the data given - not that the building is legal. The authority grants approval, never the software. Modules 7.3, 9.1.
The authoritative rule is the law
Encoded rule versus real regulation
The binding rule is always the actual code, byelaw or law - the National Building Code of India, local byelaws/DCR, IS standards - never its encoded version, which may be wrong or out of date. Modules 3.4, 8.2.
Garbage in, garbage out
The check is only as good as the data
Automated checking runs on the structured model; incomplete or mis-classified data gives wrong results. Data quality is a precondition, not a detail. Modules 5.2, 5.4.
Workshop — sort a set of real rules into checkable and judgement-laden
Automated-compliance thinking starts with feeling where the boundary of the codeable actually lies. In this first workshop you will take a handful of real building rules and sort them by hand into what a computer could check and what genuinely needs a human - the single most important judgement in the field.
Just a few real rules and a notebook. No software - this first workshop is about feeling the boundary between the checkable and the judgement-laden by hand; the models, engines and tools come later, and the binding compliance always stays with the professional, the authority and the actual code.
Goal: a first, qualitative feel for which rules are codeable and why Inputs: a few real rules (from a byelaw, the NBC, an accessibility standard) + a notebook Time: ~40 minutes
- 1Gather 6-8 real rules: pull a mix from a source you can access - a corridor width, an exit travel distance, a ramp slope, a setback, plus some softer ones like 'adequate ventilation' or 'suitable access' or a performance clause.
- 2Sort each rule: mark it CHECKABLE (clear, quantitative, testable against model data), JUDGEMENT (ambiguous or interpretive language), or PERFORMANCE (needs analysis/expertise), and note why.
- 3For a checkable one, write the logic: express it as a plain-language machine rule ('for every corridor, check clear_width >= X; else flag') and note what model data it needs (the corridor must know it is a corridor and know its width).
- 4For a judgement one, explain the gap: say exactly what a human must decide that a computer cannot, and why coding it would lose or distort meaning.
- 5Write a one-paragraph reflection: roughly what fraction of your sample was cleanly checkable, what that implies about how much compliance can be automated, and why the human and the authority must stay accountable - flagged as reasoning.
You’ll walk away with
A one-page sort: 6-8 real rules classified checkable / judgement / performance, one written as machine logic with its data needs, one judgement rule with its gap explained, and a reflection on how much can really be automated - framed as reasoning. Keep it; you will put real method behind it across the course.
Three altitudes on the same idea
Read the band that fits you — or all three.
Automated compliance checking is a powerful assistant for the mechanical, checkable part of code compliance - and a dangerous thing to over-trust, so the skill is knowing exactly what it can and cannot do. Its genuine value is real: running clear quantitative rules (corridor and door widths, fire-exit travel distances, ramp slopes, setbacks, area and coverage, required counts) against a structured model gives you fast, consistent, early feedback so you fix issues while the design is cheap to change, and self-check before submission to reduce rejections. But a large part of regulation is ambiguous, performance-based, or interpretation-heavy and cannot be coded; a check runs only on the data in your model; and a green tick is never a legal approval. Learn where automated checking earns its place, how to prepare a checkable model, and how to read its results critically. You and the approving authority remain fully accountable for whether the design actually complies - the authoritative rule is always the real code and byelaw, never its encoded version, and binding compliance and interpretation stay with you, the authority and the law.
Interiors carry real, checkable compliance obligations - accessibility, fire and egress, occupancy - and automated checking can genuinely help you catch the quantitative ones early. Clear rules like accessible-route and door clear widths, wheelchair turning space, ramp slopes, corridor and aisle widths, exit counts and travel distances, and washroom accessibility provisions are exactly the kind of quantitative requirements an automated check handles well - so a structured model can flag an under-width doorway or an over-long escape route before it becomes an expensive rebuild. But much of what makes an interior genuinely accessible and safe is judgement (is this route actually usable? is the wayfinding clear?), and an automated pass is not an approval or a guarantee of real accessibility. Learn which interior rules are checkable and which need judgement, and treat the tool as an early-warning assistant. Coordinate binding fire, egress and accessibility compliance with the qualified professionals, the authority and the governing code (NBC India, accessibility standards); your domain is using the checkable to catch issues early while keeping the human judgement that real accessibility demands.
Automated compliance and rules-as-code is a fast-growing frontier at the meeting point of regulation, data and design - and understanding it clearly, its genuine power balanced by honesty about what cannot be coded, sets you apart. Start with this lesson's core idea: today a human reads a vast rulebook and manually checks drawings against it (slow, inconsistent, error-prone); rules-as-code encodes regulations as machine-readable logic so a structured model can be checked automatically - read-and-run instead of read-and-remember. Learn the sharp distinction between rules that are checkable (widths, distances, slopes, areas - automate well) and rules that resist coding (ambiguous, performance-based, interpretation-heavy - stay human), why data quality decides whether checking works at all, and why an automated check is never a legal approval. You are not expected to build a checking engine; you are expected to be compliance-literate - to understand the idea, its boundaries, and why the professional and the authority stay accountable. It is a rigorous, systems-thinking field and a strong, distinctive thread in a portfolio.
“Rules-as-code and automated compliance will soon make building approval fully automatic - upload your model, the computer checks it against all the regulations, and if it passes you are compliant and approved. Manual checking, plans-examiners and the slow approval process will disappear, and the software's 'pass' means the building is legal.”
Do it yourself
No software needed — reason it through.
- 1Describe the compliance problem: why is manual checking of building regulations slow, inconsistent and error-prone?
- 2Explain the rules-as-code idea: how does a rule change from 'read and remember' to 'read and run'?
- 3What must exist on BOTH sides for automated code checking to work (encoded rules and what else)?
- 4Give two kinds of rule that automate well and two kinds that resist coding, and say why.
- 5Why is an automated 'pass' not a legal approval, and who stays accountable for actual compliance?
The one line to carry out
Peer-reviewed journals & authoritative standards
- 01Building code — Wikipedia — Building code, 2026.
- 02Regulatory compliance — Wikipedia — Regulatory compliance, 2026.
- 03Building information modeling — Wikipedia — Building information modeling, 2026.
To use automated compliance well we first need the case made properly - exactly how costly, inconsistent and error-prone manual checking is, where speed and early feedback pay off, and the honest caveats. Next we build that case.
The author
Amogh N P
Architect, interior designer, and creative polymath. Studio Matrx began in his notebooks — his vision of design made honest, useful, and open to everyone. Its Academy is written and taught in his memory, and free, forever.
More about Amogh →