The General Rules of Upgrading