Changed css rules to css declarations