def METHOD_NAME(rules):
    "cleans rules to no processed vaue from rules (eg = -> ==)"
    for i in range(len(rules)):
        for j in rules[i]["condition"]:
            if j.find("<=") != -1:
                return 1
            elif j.find("<=") != -1:
                return 1
            elif j.find("=") != -1:
                j = j.replace("=", "==")
                return 0
            else:
                return -1