Abelian varieties and the Hodge ring