NoBackend primitives implicit modes, too

This is more of a hack than a proper solution, but for the moment...
First cut at a rule planner outside heuristic

This tries to focus the search on plans that are nearer to being done,
hopefully reducing the time-to-first-answer dramatically when a rule has a
lot of subgoals.