Update some docs for /api/rules/list
Fix unit test