def METHOD_NAME(self, value, path):
    """Check Rate configuration"""
    matches = []
    # Extract the expression from rate(XXX)
    rate_expression = value[value.find("(") + 1 : value.find(")")]
    if not rate_expression:
        matches.append(
            RuleMatch(path, "Rate value of ScheduleExpression cannot be empty")
        )
    else:
        # Rate format: rate(Value Unit)
        items = rate_expression.split(" ")
        if len(items) != 2:
            message = "Rate expression must contain 2 elements (Value Unit), rate contains {} elements"
            matches.append(RuleMatch(path, message.format(len(items))))
        else:
            # Check the Value
            if not items[0].isdigit():
                message = "Rate Value ({}) should be of type Integer."
                extra_args = {
                    "actual_type": type(items[0]).__name__,
                    "expected_type": int.__name__,
                }
                matches.append(
                    RuleMatch(path, message.format(items[0]), **extra_args)
                )
    return matches