'Wrapper utility that returns a test metering label rule.'

@classmethod
def create_metering_label_rule(cls, remote_ip_prefix, direction, metering_label_id):

    client = cls.admin_metering_label_rules_client
    body = client.create_metering_label_rule(remote_ip_prefix=remote_ip_prefix, direction=direction, metering_label_id=metering_label_id)
    metering_label_rule = body['metering_label_rule']
    cls.metering_label_rules.append(metering_label_rule)
    return metering_label_rule
