High court upholds life term to rapist