Ordinance promulgated to curb terrorism: SC told