bugfixes for issues introduced by addition of accessRulon of access rules