Simplifying feature logic