Addingn ruby rules script