Representing Rule-based Chatbots with Transformers