Sri Lanka rupee ends weaker, stocks down 0.51-pct