Appeals court strikes down federal horseracing rules act