fuzzy function fix for PaintRuleSystem