A recent exchange of alleged cyberattacks on critical infrastructure between the two regional rivals is rattling the Middle East and threatens to change the unofficial but implicit agreement on the rules of engagement.