Optimal Simple Rules

Is there any way in Dynare to find optimal simple rules, when the welfare function contains quadratic as well as linear terms?
Forums for asking questions, posting comments and uploading examples related to Dynare
http://www.dynare.org/phpBB3/