I have a lot of rules that have common prefix and suffix:
rule = begin_stuff >> some >> other >> stuff >> end_stuff.
I think you need to use the Qi Confix Parser Derective from Spirit Repository. It is exactly what you need.