Reconceptualising rules as code with legal design patterns | Synapse