Rule-Based Programming in Interactive Fiction