Rupee weakens