text: imprisonment, and to rationalize criminal justice policies, taking into account the observance of human rights, the requirements of social justice and the rehabilitation needs of the offender. "2. The scope, of . nQnr-custodiâ.l-nieas.ur,e. s . "2.1 The relevant provisions of these Rules shall be applied to all persons subject to prosecution, trial or the execution of a sentence, at all stages of the administration of criminal justice. For the purposes of the Rules, these persons are referred to as 'offenders', irrespective of whether they are suspected, accused or sentenced. "2.2 The Rules shall be applied without any discrimination on the grounds of race, colour, sex, age, language, religion, political or other opinion, national or social origin, property, birth or other status. "2.3 In order to provide greater flexibility consistent with the nature and gravity of the offence, with the personality and background of the offender and with the protection of society and to avoid unnecessary use of imprisonment, the criminal justice system shall provide a wide range of non-custodial measures, from pre-trial to post-sentencing dispositions. "2.4 The development of new non-custodial measures should be encouraged and closely monitored and their use systematically evaluated. "2.5 Consideration shall be given to dealing with offenders in the community avoiding as far as possible resort to formal proceedings or trial by a court, in accordance with legal safeguards and the rule of law. "2.6 Non-custodial measures should be used in accordance with the principle of minimum intervention. "2.7 The use of non-custodial measures should be part of the movement towards depenalization and decriminalization instead of interfering with or delaying efforts in that direction. "3. Legal ..sgifegua. rda "3.1 The introduction, definition and application of non-custodial measures shall be prescribed by law. "3.2 The selection of a non-custodial measure shall be based on an
analysis: This text appears to be related to the administration of criminal justice and the development of policies that promote human rights, social justice, and rehabilitation. It discusses the use of non-custodial measures, such as community service and alternative sentencing, and emphasizes the importance of avoiding unnecessary imprisonment. The text also highlights the need for flexibility and proportionality in the application of criminal justice measures, taking into account the nature and gravity of the offense, the personality and background of the offender, and the protection of society.