(1) Where contempt is committed in view or presence or hearing of the Court, the contemner may be punished by the Court before which it is committed either forthwith or on such date as may be appointed by the Court in that behalf.
(2) Pending the determination of the charge, the Court may direct that the contemner shall be detained in such custody as it may specify:
Provided that the contemner may be released on bail on such terms as the Court may direct.
PART II
3. In case of contempt other than the contempt referred to in rule 2, the Court may take action:—
(a) suo mote, or
(b) on a petition made by Attorney General, or Solicitor General, or
(c) on a petition made by any person, and in the case of a criminal contempt with the consent in writing of the Attorney General or the Solicitor General.