delete the promotion rules useless code