update mining rule