Why is اعْمَلُوا مَا شِئْتُمْ not a general permission to do anything?

Amr: Form and Different Meanings