parse comment in rules