Ever since the adventing of computing, there has been lots of different pushes to be able to "compute" the law. The benefits are very clear and simple, code is verifiable and, in a certain way, enforceable. But most of all, code connects with code, which connects with code, in a eternal chain to achieve goals once thought impossible.
The Crypto ecosystem got their own take on it: Smart Contracts. Unfortunately, a real world contract is not like a Smart Contract, it's not exactly deterministic, if this then that. It is diffuse, complex, and based more on "rules" that are not meant to be broken, but to be "reasoned" with.
Let's take this article from a fictional Income Tax law as an example:
1. The income tax for an individual is defined as a fixed percentage of the individual's income over a year.