PreferXmlAbstractions rule + refactorings