by sameh naim.
I do not think it is built in function.
My first idea to do what you want as pass a variable via url and edit the registration code to assign rule according to this variable.
Samykhalil