common law principle of legality