'Writes the tool file.'

def WriteIfChanged(self):

    content = ['VisualStudioToolFile', {'Version': '8.00', 'Name': self.name}, self.rules_section]
    easy_xml.WriteXmlIfChanged(content, self.tool_file_path, encoding='Windows-1252')
