Add whitelist and automerge

1. whitelist prior than blacklist
2. automerge order is specified manually