Rupee posts best weekly gain since April on RBI measures, bond inflows