[themes] Fix unrestricted rules
[midnight theme] Remove some rules referring to classes CM does not use