Integrating new rulse file parsing with main script