Rule of law only solution to resolve country’s problems: PM