Policy checks on each resource lineage and get the first policy it gets.