More North Korean nuclear missile tests are inevitable. Investors can prepare for them using a simple rule.