custom template for tradle rules