Update the doc rule.