Set Rules Discrete Math - Search