fix rules.lengh error after querying empty css files