Do you simply want to highlight between Sub … End Sub and no highlighting outside?
If you have a mode that does the highlighting you want inside, the multiplex addon will let you easily create a wrapper mode that delegates to the inner mode only between your delimiters (as long as the delimiters are fixed strings or regexps).