[build] update code checker for rules