Yamaha says the 2027 MotoGP rule changes played a major role in its decision to switch from the inline-four engine.