work on accessRules bug not detecting all enabled access rules