add wildcard rule support