Update version rules for composer.