First rule is to love God, not to obey God (Allah says ‘obey’, indeed …)
And love cannot be imposed, so God does not impose the first commandment. But makes it a commandment, nonetheless, because we humans need His love, and need to love Him back, if He really is.
If He really is, he is/can exist without us. But if He is and He created us, then we would better find His love. Otherwise we will be orphan wanderers on the face of the earth, with no sky perspective.