read rule and call protocol file <Tanvi>