add rule opt+field for dedup

Closes #121