How did military rule affect the expansion of Japan?