Tests that matching selectors are marked properly after new rule creation and selector change.