Correctly insert variable in reule's command