It doesn't look like you'll have enough pipe to slip the 90 on, once its cut from the valve though. Looks like you got a decent skimmer, i'd just ditch the filter/rock all together.
Also is that salt creep all over the valve from splashing or from a leaky bulkhead? If you see salt creep up by the bulkhead you might as well replace it all while your at it.