Assembly rules for protein networks derived from phylogenetic-statistical analysis of whole genomes