add parser rule for contract declaration