Tidy up some documentation
Make sure you include the Rule module when testing the docs
Allow deprecations in the doc tests, since Sys is now deprecated