Fix issue when searching by tags and add documentation on /api/rules/list