A compound having the formula I: ** Formula ** or stereoisomers, tautomers or pharmaceutically acceptable salts, or solvates thereof, wherein: X is O, S, NH or N-CN; Ring A is of formula A-1 or A-2 ** Formula ** Y is H, halogen, (1-3C alkoxy) (1-6C) alkyl, (1-6C) alkyl [optionally substituted with 1-5 fluoros], cyanoalkyl (1-6C), hydroxyalkyl (1-6C), dihydroxyalkyl (2-6C), aminocarbonylalkyl (1-6C), alkoxy (1-6C) [optionally substituted with 1-5 fluoro], CN, aminocarbonyl or (1-4C alkoxy) carbonyl; Ra, Rb and Rc are independently selected from H, halogen, alkyl (1-3C), alkoxy (1-3C) and CN; B is NR1, O, a link, CRdRe, S or SO2; D is NR1, O, a bond, CRfRg, S or SO2; E is NR1, O, a bond or CRhRi, S or SO2; F is CRjRk; with the proviso that the ring formed by B, D, E and F together with the atoms to which they are attached contains at least five atoms and none or one of B, D or E is NR1 or O; G is CRmRn; K is NR1; R1 is (1-6C) alkyl [optionally substituted with one to five fluoro], cycloalkyl (1-6C) [optionally substituted with one to five fluoro], (1-3C alkoxy) (2-6C) alkyl [optionally substituted with one to five fluoro], (1-6C) C (>; = O) - or (1-6C alkoxy) C>; = O-; Rd, Re, Rf, Rg, Rh, Ri, Rj and Rk are independently H, OH, alkyl (1-6C) [optionally substituted with one to five fluoro], cycloalkyl (3-6C) [optionally substituted with one to five fluoros], (1-3C alkoxy) (2-6C) alkyl [optionally substituted with one to five fluoro], hydroxyalkyl (2-6C) [optionally substituted with one to five fluoro], cyanoalkyl (2-6C), alkoxy ( 1-6C) [optionally substituted with one to five fluoro] or (1-3C alkoxy) alkoxy (2-6C) [optionally substituted with one to five fluoro], or one of a pair of Rd and Re, or Rf and Rg , or Rh and Ri, or Rj and Rk, together with the carbon atom to which they are attached form a cycloalkyl (3-6C), oxetanyl or acetidinyl ring, or one of a pair of Rd and Re, or Rf and Rg, or Rh and Ri, or Rj and Rk form an oxo group, and in which only one of Rd and