Merge "Add access rules restriction tests"