allowing the use of kwargs on FunctionRule's builder function