The annihilating-ideal graph of commutative rings I