Update deckgrid.js

It seems like this should be an OR, not an AND.  If rule.cssRules is undefined, we should always exit, correct?  Otherwise, the next statement, i = rule.cssRules.length - 1, throws an error.
Merge pull request #20 from johnwest80/patch-1

Update deckgrid.js