Make rule sniff less complicated and tidy up doc block.

Refs #4871