Laws concerning the declaration of war are irrelevant when there isn't a country behind the aggression.  Perhaps what is needed are some new laws that address the current world, i.e., a world where a map boundary is irrelevant to the tribal/social entities conducting aggression.