[core][py][bug] fix displayRules