Rizwan and Irfan both suffered hamstring injuries in the third match in Rawalpindi, where a second-string New Zealand side won by seven wickets to level the five-match series 1-1
Rubel's participation in the Feb 14-Mar 29 tournament in Australia and New Zealand was in doubt after a Dhaka court denied him bail on Thursday.
The actress had filed the complaint with police last month, alleging the bowler had been in a relationship with her, which included physical intimacy.
"We think the merit of the case is not that strong and for that reason he got bail from the court," Bangladesh Cricket Board president Nazmul Hassan told Reuters.
"He will remain in the World Cup squad and will get all the support from the board until the World Cup," he added.
Rubel, 25, has played 22 Tests and 53 one-day internationals for Bangladesh.