Pure spin current in a three-terminal spin device in the presence of Rashba spin-orbit interaction