Refactored to now read msg and content from rule file <Tanvi>