PEP8 + added record rules in XML.