Alright scorpdestroyer, I have roughly done what you asked for, but I have some concerns about how the interface for it would work since it's very syntax sensitive. Mostly in the actual meaning of < or >. The way you seemed to phrase it made me assume that what you really wanted was all speeds 50
and less (≤). This is how I have it implemented in the picture below, but maintained using the < symbol for typing convenience. Additionally the spaces before and after the "<" are
required to run the command, and I'm not sure if that's better than having no spaces (though it's certainly easier to program). Finally it has to be ordered in the way you specified, meaning that even though "Spe < 50" === "50 > Spe", the command will not run if the latter is typed.
Overall, while I think this is useful I'm not sure how accessible the interface is. Anyways, since you were the one who suggested it, how do you think the syntax should be structured?