class RemoveUnreferencedScalarApplyNodes implements Rule<ApplyNode> {

    @Override
    public Result apply(ApplyNode applyNode, Captures captures, Context context)
    {
        return Result.ofPlanNode(applyNode.getInput());
    }

}