remove release depends from release target
added a template for conditional rule