I doubt this new rule will stand. Its very extreme even for a conservative Muslim country.
It's not just a rule, it's the law.
Frankly, I doubt that it is actually intended to be enforced, per se. It's probably for public consumption, coupled with the possibility of using it against political "undesirables" when possible.
But, OTOH, I am also confident that lots and lots of people in conservative cultures are perfectly fine with executing gay men. Just because a country doesn't have such medieval, primitive, morality doesn't mean people in those countries don't.
Religionists are the main cause of dragging ugly ethics into the 21st century. It's why I would be OK if religion died out. The damage outweighs the benefits.
Tom