modify matchrule