I am not so sure
Take for example a famous variant of the Turing test
You ask a person, some questions in chinese language
He does not know Chinese but you provide him with a manual for translating chinese ideograms
You can get consistent answers even though the person under test does not have any consciousness of what he is doing

Chemical reactions can "code" the "manual" or a " Set of rules " but "consciousness" seems to be quite an othe matter