(issue #3897) simplify css rules