Small fixes and more documentation.

Interpretation of comment in rule depends on position.