Sri Lanka rupee opens weaker, stocks gain