Markov Approximations of chains of infinite order in the $\bar{d}$-metric