Fix #5575: Rule list hides as soon as there is only one rule left

This fixes #5575 where the CSS rule list wasn't hiding when you deleted a rule manually.


@njx