Convert some prediates into boolean attributes.