simple case working
handling multi sel/rule and multi rules