add ios rules