normalize the decorator usage.
support to match functions with keyword arguments.
testing the key matching register.
Merge pull request #8 from tonyseek/register-by-type

支持非 text 类型的规则注册（字典匹配）