fix rule diff