add version rule