> writing the laws becomes a bigger problem than writing the code itself.
But that's how it is anyway, no?
Defining clear boundaries and clear goals is the hardest part. If you get those right everything else is rather trivial.