Removes all (local) CSS rules and reapplies them one by one.