def METHOD_NAME(self):
    for callback in RecommendedRules:
        if isinstance(callback, Callable):
            args = inspect.signature(callback)
            parameters = list(args.parameters.keys())
            if parameters == recommended_rule_parameter_keys:
                self.recommended_rule_callbacks.append(callback)
                pass
    pass