refactor query rule method
fix a bug
Merge branch 'master' of https://github.com/dianping/cat
Merge pull request #623 from leonindy/master

refactor query rule methods