You just need to create a Custom Function for the window position and size, and then select that Custom Function in the Window Location rule. I've attached a screenshot of the Custom Function.
In the Window Location rule, set the Window Size to Run Selected Function on Window, and then select your Custom Function from the list :)
Regarding the window picker, did you want to be able to use that from the Scripted Function editor?

2015-01-02_15-32-34.jpg