Template engine for rule_answer