Rule matching draft.