split and cleanup FIPA-SL gramar