Factor Ability Capsule into legality

Pokemon can have 3rd Gen moves with 4th Gen Abilities in Gen 6