replace hr rules with css selectors