Nonlinear Solver

Hi all,

I was wondering whether the nonlinear deterministic solver can solve a dsge model where the Cenrtal Bank follows a threshold interest rate rule. Say a rule, where the CB reacts to inflation if and only if it exceeds 2%. Is there any example available?

Thanks a lot in advance.