add junit for expert test
change CLIPS syntax to use templates