Arrange css rules