A compound according to formula I, wherein R. is halogen, or R 1 is alkyl, alkenyl, alkynyl, haloalkyl, alkoxy, cycloalkyl, alkoxycarbonyl, aryl, each being optionally substituted with one or more substituents selected from R 3; R2 is hydrogen, or R2 is alkyl, cycloalkyl, alkoxy, heterocycloalkyl, aryl, heteroaryl, alkoxycarbonyl, aminocarbonyl, amino, each being optionally substituted with one or more substituents selected from R4; R3 is hydrogen, aryl, heteroaryl, oxo, halogen, hydroxy, alkyl, cycloalkyl, alkoxy or amino; R4 is hydrogen, halogen, oxo, hydroxy, carboxy, alkyl, alkoxy, amino, -NRaRb or -C (O) -NRaRb, in which each of Ra and Rb is independently hydrogen, hydroxy, alkyl, alkenyl, aryl, cycloalkyl, heterocycloalkyl, heteroaryl, alkylaryl or alkylheteroaryl, or Ra and Rb together with the nitrogen atom to which they are attached form a heterocycloalkyl ring, each being optionally substituted with one or more substituents selected from R3, or R4 is aryl or substituted heteroaryl with one or more substituents selected from R5; X and Y are both C and N or N and C, respectively; Z is CH2, CH2-CH2 or NH; A is aryl, cycloalkyl, cycloalkenyl, heteroaryl, heterocycloalkyl or heterocycloalkenyl, each being optionally substituted with one or more substituents selected from the group consisting of R5; R5 is hydrogen, halogen, oxo, alkyl or alkoxy; and pharmaceutically acceptable salts, hydrates, N-oxides or solvates thereof.Un compuesto de acuerdo con formula I, donde R. es halógeno, o R1 es alquilo, alquenilo, alquinilo, haloalquilo, alcoxi, cicloalquilo, alcoxicarbonilo, arilo, estando cada uno opcionalmente sustituido con uno o más sustituyentes seleccionados entre R3; R2 es hidrógeno, o R2 es alquilo, cicloalquilo, alcoxi, heterocicloalquilo, arilo, heteroarilo, alcoxicarbonilo, aminocarbonilo, amino, estando cada uno opcionalmente sustituido con uno o más sustituyentes seleccionados entre R4; R3 es hidrógeno, arilo, heteroarilo, oxo, halógeno, hidroxi, alquil