daf: improve multi-instance support
Currently, the DAF module can work when using multiple instances, but only as long as:
- all the instances are started before any rules are configured
- no instance is ever separately restarted (or crashes)
This could be improved by:
- using deterministic IDs that are tied to the rule (e.g. a hash)
- have some mechanism that can be used to pull/push the entire current configuration instead of a single update (to sync an instance state with others after restart)