Fix dojo-rules errors