Rules and regulation in the primary structure of chromatin