I'm not totally clear on what your question is. I, personally, haven't done ACO or worked with fuzzy-rule-based systems in R, but there are packages that do.
https://rdrr.io/cran/ShortForm/man/antcolony.lavaan.html
I encourage you to review the following guide, FAQ: Tips for writing R-related questions, it will help us help you!