A contempt of court petition has been filed before the Supreme Court challenging rules under which 40 percent of the sanctioned Regular Mazdoor posts in the Patna High Court can be filled by candidates selected or recommended by the Chief Justice or High Court judges.