template rules added.