use head and tail files to load default rules