Sri Lanka stocks rallied on Thursday after the International Monetary Fund announced a staff level agreement with the government. The market responded positively.