feat(rule): add rootPkg param to rootPkg
0.7.4