Main rights and obligations of the defendant