Fix crash if metarule not found