Organise photos according to pre defined rules