ruleText string casing for comparisons

Since the selector variable is made lower case, the ruleText variable also wants to be made lower case (since we are doing equality comparisons on these variables).