Improve chapter 2

Add section about structure and rules
Add section about discarding whitespace