eliminated old trait rules
deleted obsolete code