Improve performance of MetricTimeQueryValidationRule
#1481
Merged
MetricTimeQueryValidationRule
#1481