change package name and fix duplicate rule type