Rupee weakness capped after new measures boost foreign inflows