[test] add unit tests for ruleset
We extract the rules building logic from readfile into a Ruleset.buildrules()
method to ease testing.
Document: mercurial-server
Title: mercurial-server manual
Section: Programming
Format: HTML
Index: /usr/share/doc/mercurial-server/html/index.html
Files: /usr/share/doc/mercurial-server/html/*.html