Chris wrote almost this entire commit.
some stylistic fixes
Some additional fixes for the rules page. Linked from main.