Implement StringRule