StylePlugin: remove unnecessary style rules