Removing all range management logic
Fix left-over error when adding new rule on ios