rebased ObjnameConstraint on PatternConstraint
rebased ObjtypeConstraint on PatternConstraint
added exclude to find_objects
min