The rules and regulations that govern the investigation, prosecution, trial and punishment of criminal defendants who are charged with criminal offenses. There are federal and state rules for each applicable criminal court which cover all issues concerning criminal justice from arraignment and bail hearings through trials. See in comparison civil procedure.