将accessRules统一移到父类中

有助于统一管理权限
Merge pull request #6 from maoyu/master

将accessRules统一移到父类中