Former defence chief Rajapaksa was sworn into office promising to strengthen security and fix the economy.