(self, ruletable)
:param ruletable: a string containing the rule data, separated
            by newlines.
:param ruletable: a string containing the rule data, separated
            by newlines.
: param ruletable : a string containing the rule data separated by newlines .
def __init__(self, ruletable):
        """
        :param ruletable: a string containing the rule data, separated
            by newlines.
        """
        self.rules = defaultdict(list)
        self.read_rules(ruletable)
def __init__ ( self , ruletable ) : self . rules = defaultdict ( list ) self . read_rules ( ruletable )