Export existing AI routine

How can I export an existing AI routine I want to start modifying. I like the SLAVS military routine and want to apply it to the vikings.