Rules key is called by ref to extension