Change action.name to action.ref in rules.