Lookup possible styles from the index.
Index style rules to quickly narrow down which ones match a given element.
Improve parsing API. Now compound selectors have their own type, aiding indexing and maybe interpretation. Now only one selector is associated with outputted style rule.
Add some resiliancy checks.
Add and pass some unit tests.