Prevent rules.length throwing errors when empty CSS files are presents

It prevents the error thrown when empty CSS files are parsed to find the media queries. 
Test case: webfonts bought on MyFonts.com has empty import at the head of the CSS

Ref: #83