fixed new trade rule template bug