Make sure rule.selectorText exists before doing the regular expression

Firefox throws this error when trying to load salvattore from requirejs:
[14:49:36.421] TypeError: rule.selectorText is undefined @ http://127.0.0.1:3000/js/vendor/salvattore.js:139

This fix makes sure rule.selectorText is defined before running a regular expression on it.