A rugby club have apologised for a social media post which stated an upcoming match was "not for girls".