Fix abort editing rule bug