Update to rule template file