docs(rules): fix example code