Merge scope and permissions in scope in a rule

Related, however I’m marking Nicolas answer as solution for now, since it solved the OP problem: