A rule-enforcing preset would be nice, but that would probably be pretty difficult.
As far as I got it, the only unusual aspects of this variant is the piece confinement and the mandatory capture. So it should not be that difficult. The only special-purpose code that is needed would be for rejecting moves that end on an edge square and do not specify a locust victim (which could be added as the end of the Post-Move sections), and for apparently pseudo-legal moves with non-edge pieces or non-captures with edge pieces, a test whether any of the edge pieces has a capture.
As far as I got it, the only unusual aspects of this variant is the piece confinement and the mandatory capture. So it should not be that difficult. The only special-purpose code that is needed would be for rejecting moves that end on an edge square and do not specify a locust victim (which could be added as the end of the Post-Move sections), and for apparently pseudo-legal moves with non-edge pieces or non-captures with edge pieces, a test whether any of the edge pieces has a capture.