Fixed errors in new rule