Fixed bug in package rules that send strings instead of integers.