(self, rule, position=0)
Replace existing rule in the chain at *position* with given
        *rule*
Replace existing rule in the chain at *position* with given
        *rule*
Replace existing rule in the chain at * position * with given * rule *
def replace_rule(self, rule, position=0):
        """Replace existing rule in the chain at *position* with given
        *rule*"""
        rbuf = rule.rule
        if not rbuf:
            raise ValueError("invalid rule")
        self.table.replace_entry(self.name, rbuf, position)
def replace_rule ( self , rule , position = 0 ) : rbuf = rule . rule if not rbuf : raise ValueError ( "invalid rule" ) self . table . replace_entry ( self . name , rbuf , position )