flatten css rules