Rules of replacement