Rule-Following and Realism