Non-collinear magnetic junction mediated by Rashba interaction