Simplify example code (remove some rules to make it shorter)