rename: filter->action, add priority mechanism