def impl_asserta(engine, rule): engine.add_rule(rule.getvalue(engine.heap), end=False)
def impl_assert(engine, rule): engine.add_rule(rule.getvalue(engine.heap))