The Central government on Wednesday defended the legality of the new Information Technology (Intermediary Guidelines and Digital Media Ethics Code) Rules, 2021, in its counter affidavit filed in reply to a challenge to the constitutional validity of the new IT Rules.