Rangers director of football Mark Allen admits a deal has been agreed in principle to sign Jamie Murphy on a permanent deal.