fixed duplicate definition of rule
fixed problem with none unique names