I don’t think it rules out free will, but perhaps free will is more limited. There is a self reflective part of your mind, probably physically located in your frontal lobe, but there are also many other parts of your mind and brain that do important things, but aren’t self reflective. I’ve come to think of my brain as a committee. There are many things I can do, like walk or even do a mathematical proof, that I cannot really describe the process. We see in things like addiction that the self reflective mind also does not always (or maybe even often) have ultimate control over behavior. Kahenaman and Gallwey talk about this as System 1/2 and Self 1/2. Julian Jaynes even thinks that people used to have complete other simulated people inside of themselves that they called gods, and this still happens to people with Schizophrenia.