#21 fixed wrong odering for package dependency rule