Log: scheduler: improve message for empty location rules
generate_location_rule(), whose return value was previously ignored, now
returns a bool for whether the rule was valid or not, and the caller now checks
it to log a more accurate error when a constraint contains invalid rules.