Fix rules sometimes not loading