add a check if rule.nodes exists before checking lenght to prevent an error if no @ rules exist in css code
add a check if rule.nodes exists before checking lenght to prevent an error if no @ rules exist in css code

maoberlehner/css-selector-extract