This variable should use proper camel case: newrule -> newRule