Fixed bug with rule proxy