Create new output: pre-g1-result,pre-g2-result
Update find nearest rules and slope one filter rules.