[feature] further rules for tags and branches