The rule of legality has been characterized as the first principle of American criminal law and jurisprudence.