':param name: Name of the load balancer
:rtype:``str``
:param method: Load balancer method
:rtype:``str``
:param rules: Load balancer rules
:rtype: ``list`` of ``dict``
\'rules\': [
\'protocol\': \'TCP\',
\'port_balancer\': 80,
\'port_server\': 80,
\'source\': \'0.0.0.0\'
\'protocol\': \'TCP\',
\'port_balancer\': 9999,
\'port_server\': 8888,
\'source\': \'0.0.0.0\'
:param persistence: Indictes if persistance is set
:rtype: ``boolean``
:param persistence_time: Persistance time
:rtype: ``int``
:param health_check_test: Type of test
:rtype:``str``
:param health_check_interval: Interval of the check
:param health_check_path: Path
:rtype:``str``
:param health_check_parser: Parser
:rtype:``str``
:param datacenter_id: Data center id
:rtype:``str``
:param description: Description of load balancer
:rtype:``str``
:return: ``dict``'

def ex_create_load_balancer(self, name, method, rules, persistence=None, persistence_time=None, health_check_test=None, health_check_interval=None, health_check_path=None, health_check_parser=None, datacenter_id=None, description=None):

    body = {'name': name, 'method': method}
    body['rules'] = []
    body['rules'] = rules
    if (persistence is not None):
        body['persistence'] = persistence
    if (persistence_time is not None):
        body['persistence_time'] = persistence_time
    if (health_check_test is not None):
        body['health_check_test'] = health_check_test
    if (health_check_interval is not None):
        body['health_check_interval'] = health_check_interval
    if (health_check_path is not None):
        body['health_check_path'] = health_check_path
    if (health_check_parser is not None):
        body['health_check_parser'] = health_check_parser
    if (datacenter_id is not None):
        body['datacenter_id'] = datacenter_id
    if (description is not None):
        body['description'] = description
    response = self.connection.request(action='load_balancers', data=body, method='POST')
    return response.object
