Fixes #5698: Filter On Directive page works again

Because we need to specify a limit (in directive page) and no limit (in Rule edit form) to use the same code.

Value will be 1 in directive page
and -1 in rule page (to mean infinite)