Adding opposite relations in parser, adding php generator