remove lib/rules dependency.