finish keyword resource rule