Made a new type of condition that works off of a set of bit flags. The instance type and group type conditions now use this system.