Small estonian question

 Is there any rule to determine whether a word takes -de or -te in the genitive plural?

Thanks!