Calling ruby script to generate new rule