Generate mappings from apply_to attributes