[libqb] [PATCH 2/2] Make docs rules more maintainable