rule pattern now use regexp