New rules could see Shinzo Abe, Japan’s prime minister, becoming the country’s longest-serving leader since the second world war.