add multiple rule support