add extract rules