It is far, far easier to have laws written in code and execute test cases based on those laws before even investing any capital into a venture which may require edge cases of a given law, rather than the current scenario of hemming and hawing around a fundamentally subjective and fuzzy area and eventually subjecting your endeavour to the rigors of being a legal "test case" consisting of much ado about nothing and the outcome is as close to random as anything else.
When you reduce the legal profession to coding and writing test cases though, hell will freeze over the next day. Such a politically powerful faction will never allow themselves to be marginalised in this way, even if they claim to desperately be striving for exactly the kind of scenarios that this would allow; universal access to a completely objective justice system with etc etc etc. The extent to which this is actually impossible is somewhat depressing because it's something of an expose on the hypocrisy implicit in the claims of the legal system to actually serve the public, rather than itself.
But hey, that's life. If it ever does happen my wager is it will be because it is forced on them through market forces, the public at large simply uses alternatives venues for mediation and the legal system is forced to compete with it. I predict much artificial legal protection to prevent this from happening before it actually comes to pass, though.