update rule doc