Modified cost calculation for recursive rules: only calcualte the unstatisifed precondition cost.