'Convert LifecycleConfig object into XML string representation.'

def to_xml(self):

    s = ['<?xml    version="1.0"    encoding="UTF-8"?>']
    s.append((('<' + LIFECYCLE_CONFIG) + '>'))
    for rule in self:
        s.append(rule.to_xml())
    s.append((('</' + LIFECYCLE_CONFIG) + '>'))
    return ''.join(s)
