Somewhat finalized syntax ruleset

I think most of the bases should be covered now.