Changed version checking mechanism to be compatible with new rules.