Fix filter_rules_sort's compare function to know about floating rules so it won't change their order.
Fix filter_rules_sort's compare function to know about floating rules so it won't change their order.