update rule generation script