Salsa’s Rules as Code Practice
Rules as Code provides an easy way for people to access and understand rules and legislation. Users answer a few questions and get customised content rather than having to read long pages of information and complex rules.
Rules as Code is ideal for use cases centred around eligibility (with or without calculations), compliance, classification, and modelling changes to policy/legislation.
Salsa’s Rules as Code services
RaC prototyping
Looking for a small proof of concept to test Rules as Code? Our prototyping services will guide you through the process, from rules mapping to coding.
More about RaC rapid prototypingRaC development
Ready for production? We’ll help you take your legislation or rules and translate them into a production-ready solution.
More about RaC developmentRaC support
Looking for 24/7 support to cover your RaC deployment? The Salsa Service Desk provides tailored RaC support.
More about RaC supportIntroducing Assemblic

Assemblic
Assemblic is a SaaS platform that simplifies setting up and hosting Rules as Code (RaC) projects. Built on the open-source OpenFisca framework, Assemblic handles source code management, deployment pipelines, infrastructure setup and management, secure software hosting and advanced security features.
Interested in Rules as Code? Contact us and we’ll be in touch within 24 hours.
What is Rules as Code?
Legislation is often extremely difficult to understand and interpret. It uses complex legalese language and often includes multiple references to other legislation meaning you may need to read multiple pieces of legislation to understand one ‘rule’.
By coding the law/rules, you can transform legislation and rules into simple-to-use digital experiences. Also known as ‘Rules as Code’ this innovative approach can be used for things like eligibility checking, compliance checking and creating digital policy twins for policy modelling. More about Rules as Code
Why Rules as Code?
For citizens/users Rules as Code provides:
- An improved user journey
- Greater transparency of laws
- Easier access to law and regulations
For governments/organisations, Rules as Code provides:
- Reusability — one rules engine can serve many applications
- Easy management — OpenFisca keeps historical, current and future rules for point-in-time calculations
- Policy modelling — OpenFisca’s simulations let you model changes and see intended and unintended consequences
Use cases for Rules as Code (RaC)
In general, Rules as Code does work best with black and white rules. However some of the more subjective areas can also be tackled with RaC.
From legislation to end users
The exact set up of an RaC project will depend on the individual requirements. However, below is a diagram showing a sample pathway from legislation to users, via OpenFisca.

Want to learn more about Rules as Code?
Read some of Salsa’s insights and thought leadership content on Rules as Code: