Conciousness is an emergent property of a physical brain firing neurotransmitters between synapses, just as an economy is an emergent property of society buying and selling things, or ant colony behaviour is an emergent property of the behaviour of individual ants for example. It's not somehow "above" the simulation, just a higher order of complexity defined by lower-level rules, similar to a glider in Conway's Game of Life.