Huh? It’s perfectly okay. My wife and I have the same rules, and neither of us feel hampered by it. We don’t seek out opposite sex friends, and most events are by sex anyway (sports, board game groups, book clubs, etc.)
Even at the gym, men hang with men and women with women. It’s just how it goes.