Add check between rules doc and index (fixes #865)
Merge pull request #869 from albertosantini/check-off-in-index

Add check if there is text 'off by default' in index.