fixed count test, rules are map[string]interface{}s