fix issue of rule change not being displayed correctly