Started writing affrule parser using parsec