add auto option to float in rules