[pl] fix a lot of false alarms, add new feature to SimpleReplaceRule to avoid some false alarms