firstly please keep in mind that offence of rape is a noncompoundable offence and it ia crime against society. Moreover the prosecutrix is not a accomplice of the crime. So if by marrying with a girl upon whose person rape is committed will absolve the accussd from the cluthches of law will nothing but a imaginary thinking.If such compromises will be allowed to be compounded then it will send a very wrong message in public at large and it will create chaos in the society. Lusty ppls will just commit rape and will go scot free after marrying with the girl.
High court will never compound or quash such cases in my opinion considering the nature of crime. There are noncompoundable offences whivh courts quashes such as 498a.but not 376.you may apply for bail before high court.
Taking the girl before the court and her nobjec for grant of bail may amount to tampering of witnesses and court might reject bail on this ground alone.Please provide factual details of the case if he is still behind bar hope i could suggest some grounds.