he went on to announce the imposition of martial law , postponing of elections pending better security conditions and his appointment as the country 's military ruler until such conditions were achieved .