How to replicate decision rule obtained from estimated model with stoch_simul

How do you deal with the variances of the exogenous shocks? You seem to not be setting them. Also not that in Dynare 4.5 or higher you have a posterior function to do this. See