consolidate: write key-value field to rule table