The rule of res judicata generally applies to writ petitions filed under Article 32 of the Constitution, meaning that a matter finally decided cannot be reopened in a subsequent petition on the same facts and grounds. However, an exception has been carved out for petitions seeking the writ of Habeas corpus.