Metropolitan sessions court judge Imrul Kayes heard the matter and granted him bail after his previous petition was rejected by the court in a case filed by Aznin Akter Happy.
Happy filed a case against Rubel under the Women Repression Act on December 13 alleging that the pace bowler had engaged her in physical relationship with promises of marriage, bdnews24.Com reported.
Rubel, 24, has alleged that Happy has been "blackmailing" him. Happy underwent a medical test that suggested Rubel did not force her to sleep with him.
On January 8, the cricketer surrendered to the Dhaka Metropolitan Magistrate's Court and sought bail again.
More From This Section
The court turned down his plea and sent him to jail. This happened three days before the expiry of his anticipatory bail.
The court ordered a DNA test of Rubel December 31, 2014, taking cognisance of an appeal filed by Mirpur police.
Happy, a BBA student who has acted in a Bengali film, claimed the two got in touch first on Facebook and Rubel refused to marry her after nine months' intimate relationship.
Happy also on January 5 filed a petition in court, seeking Rubel's expulsion from the Bangladesh team.
The Bangladesh Cricket Board (BCB) on Sunday announced a 15-member team including Rubel for the next ICC World Cup scheduled to begin in Australia and New Zealand from February 14.