use local variable rules instead of class variable @@rules in Utilities.format!.