X codes in general are unallocated by IATA and reserved for non-international internal use by individual nations. Given the limited number of 2 letter codes in the EGxx range it makes sense to use X codes for farm strips. X2 makes sense because G and 2 are both allocated to the UK for radio callsigns.