put background equations first in pruning order