merge identity info for top-level nodes into rule
disco/pubsub: define features once, register for all
break out node identities/features rule as separate method
tests: use account factory
return empty identities/features instead of nil
adjust indentation