Continue working on grammar to support basic spec tests

Still todo:
 - Don’t just throw away comments
 - Tighten up parser rules for selectors (and check they all actually work…)
 - Implement rules for arithmetic stuff
 - Various other rules that are yet to be written