1. A formula compound I, wherein RA is C 1-c6, halide; N1 is 0-4; Rb is C1-C6, halide; N2 is 0-4; M1 is 0-3; M2 is 1-4; XA = XB is ch = ch, n = ch = n; X is n, CH, C - (halide);RC is h, C1-C6 has been replaced or not, and so on. These compounds are the first choice: 3-oxo-3 - [7 - (7h pirrolo [2,3-d] pirimidin-4-il) - 1,7-diazo [4,5] dec-1-il]; acrylonitrile; 3 - [3-methyl-6 - (7h pirrolo [2,3-d] pirimidin-4-il) - 1,6-diazo [3,4] - oct-1-il] - 3-oxopronityl. These compounds are effective inhibitors of janus-janus-2 for the treatment of organ rejection, autoimmune diseases, allergic diseases, chronic diffuse myelopathy, rheumatoid arthritis.REFERIDA A UN COMPUESTO DE FORMULA I, DONDE Ra ES ALQUILO C1-C6, HALOGENO; n1 ES 0-4; Rb ES ALQUILO C1-C6, HALOGENO; n2 ES 0-4; m1 ES 0-3; m2 ES 1-4; Xa=Xb ES CH=CH, N=CH, CH=N; X ES N, CH, C-(HALOGENO); Rc ES H, ALQUILO C1-C6 SUSTITUIDO O NO, ENTRE OTROS. SON COMPUESTOS PREFERIDOS: 3-OXO-3-[7-(7H-PIRROLO[2,3-d]PIRIMIDIN-4-IL)-1,7-DIAZAESPIRO[4,5]DEC-1-IL]PROPIONITRILO; 3-[3-METIL-6-(7H-PIRROLO[2,3-d]PIRIMIDIN-4-IL)-1,6-DIAZAESPIRO[3,4]OCT-1-IL]-3-OXOPROPIONITRILO; ENTRE OTROS. DICHOS COMPUESTOS SON INHIBIDORES DE CINASA JANUS 2 UTILES EN EL TRATAMIENTO DE RECHAZO DE TRASPLANTE DE ORGANOS, ENFERMEDAD AUTOINMUNE, ENFERMEDADES ALERGICAS, ENFERMEDAD MIELOPROLIFERATIVA CRONICA, ARTRITIS REUMATOIDEA