Is it possible to have if ANY and if ALL rules in same condition?