This ruling just means that the law requiring ISPs to retain data is invalid. It doesn't ban national governments from passing their own laws to the same effect.
It might actually be better if a high court deems the national law to be just fine, since you might get a verdict in the European Court of Human Rights.