Implement operator| for AttackPattern.