Abstract away RuleStore construction.
Expose common interface above all selector passes.
Reorganize modules to make space for styling passes not related to selectors.
Implement CSS selector interpretor.
Unit test the style index.
Lookup possible styles from the index.
Index style rules to quickly narrow down which ones match a given element.