custom rules and composer.json update