optimize rule "any". add tests for param check
add test case for email rule
add test case for type rule
optimize rule "format". add test cases for check params of this rule