updated rules to adhere to new grammar