Fix rules updating after permissions reloading.