dry-logic provides predicate logic with rule composition for Ruby applications. It is part of the dry-rb family of libraries.