add Arule and APrule criteria