Provide migration examples from only/except to rules.

I was reading at the list of changes for 13.0 and it appears that the CI config will be deprecating only and except in favour of rules.

The documentation however doesn't provide examples on how to migrate from the old syntax https://docs.gitlab.com/ee/ci/yaml/#rules

I think it would be helpful to provide such examples to ease the migration.