Add recording rule template support to Python Bindings.