Added function to generate traffic-selectors