rules for slider