Cyberattacks could trigger self-defense rule, U.S. official says