rearrange css rules position.