rules integration during ingest