Also asked in this post yesterday. Import rules by rest api Please do not open multiple threads for the same question.