Rules as Code

What it means, and why we're doing it

Sara Falamaki and Asghar Kazi

Why Code The Rules?

Every computer system that interacts with rules, codes them

Lets do it once

So that everyone uses the same rules
and
Rule changes are propagated across applications

Often the interaction between rules is incomprehensible to mere humans...

Down arrow

Lets do it better

  • By explaining our rules to a stupid computer, we can help ensure they make sense
  • Rules and computer systems become easier to integrate with, test, and modify
  • By reducing the burden of legislation, we improve our customer's experience

We promise to

  • Make life better
  • Save Money!
  • Save Effort
  • Help make better rules

... for both our customers and staff

What are we doing?

  • Manually translating prescriptive rules into computer code
  • Publishing this translation, so computer systems can use it
  • Testing our interpretation of the rules with clear, reproducible test data

What are we NOT doing?

AI

Machine Learning

Law, equity, judgements

RoboCops

RoboJudges

RoboDebt

Automatic Anything

... Anything scary!

Rules as Code is here TODAY

  • BRD - Community Gaming
  • ESS - NABERS
  • Many examples in New Zealand and France

What does it look like?

This is a questionaire that can be used to determine what financial help you're eligible for in New Zealand, created using Rules As Code

What does it look like?

Here is a French example

Our Approach

We aim to make Rules as Code the easiest approach for drafting, consulting, implementing and communicating prescriptive rules and legislation.

We are building a RaC platform for NSW

data_flow

We Are Exploring New Opportunities

  • BDM - Marriages
  • Revenue - Land Tax, Fines, Speed cameras

Let us know how we can help you make Better Rules

Questions?