(#18) do not parse stylesheet with no rules

(#18) do not parse stylesheet with no rules

fixes TypeError when stylesheets are empty by putting in null check.