Compile 'complex' selectors (ones with multiple tests but no tree traversal). I'm currently using a temporary datastructure which will be easily replaced with curried functions later.
Unit test the style index.
Lookup possible styles from the index.
Index style rules to quickly narrow down which ones match a given element.