added add irule functionality