remove unnecessary css rules