Someone should really work towards making legal document as a testing framework against which user can send a query of an action and the output of query should be if action is allowed by that document or not. :)