What is ‘rules as code’?
Rules as code (RaC) takes legislation, regulations and policies and turns them into machine-readable code so they can be understood and interpreted by computers.
Why rules as code?
Turning rules into machine-readable code provides many benefits for government, citizens and broader society. RaC helps to reduce ambiguity, reduces the difficulty of interpretation and therefore makes it easier for citizens and organisations to comply with the rules. Importantly, it also leads to greater transparency in rules.
Who’s using rules as code?
Many governments around the world are exploring and implementing RaC — although it’s still definitely an emerging field.
New Zealand is also active in this space. Rules as code is part of NZ’s , which brings a new approach to policy and legislation. RaC was also used in creating NZ’s , a portal for NZ parents that includes birth registration.
An example here in Australia is the NSW Government. They’ve created a digital version of the Community Gaming Regulation 2020 and have also produced assets on RaC, including:
Rules as code and the Observatory of Public Sector Innovation (OPSI)
The OPSI has a dedicated emerging tech . One of the outcomes of that project has been the recent release of OPSI’s report, . The report provides an introduction to RaC, including benefits, use cases, the effort involved, and general advice and guidelines.
Salsa Digital’s take
Some laws have been in place for many, many years — decades or even centuries! While much legislation has been transformed through amendments, other laws have remained static. RaC provides an excellent opportunity for government transformation, specifically digital transformation. While it’s still an emerging field, it’s clear that there will be significant work in this area in the coming years.