Documentation fixes.
Add MLSRuleQuery unit tests.

Turns out the rules are always expanded, so indirect options had
no effect.