Combat is turn-based and there is no time limit on each round in a PVE Pet Battle. You can take your time to determine which spell to use next. Some pet abilities have multiple round cooldowns, while others can do extra damage if certain conditions are met. Be creative and have fun testing which combination of attacks works best against different wild pets!
Different qualities aren't limited only to wild pets—many rare World drops and special non-wild companions have had their stats boosted. For example, the world-drop dragon whelps (Azure Whelpling, Crimson Whelpling, Dark Whelpling, and Emerald Whelpling) are of [rare] quality. Check your Pet Journal to see the color-coded rarity of your non-wild pets.
You are right here. The Rematch string is part of the Info box, and as such it should be parsed correctly. (The string that contains the correct and breed/damage-specific min health requirements). This should be enough, but, I think there are also folks that aren’t using Rematch. They also should know of the type-specific min health requirements. Unfortunatly the default forms of the page don’t offer any detailed entries for the min health. They only offer one entry (for all damage types), and I always put the worst-case min health there (for pets that are weak against the expected damage type)
Each pet has 3 abilities it can use during a battle, but a total of 6 to choose from. They will also have a total of 3 active spell slots that show which abilities can be used during a Pet Battle. The first spell slot will already be unlocked, but the second and third will only become available once the companion has reached a certain level. Other spells will also unlock after reaching higher levels.
If your pet's health gets too low or its attacks aren't very effective against a certain combatant, you can always switch out your current pet with another companion on your team. Only pets that are considered active (i.e., those in your three Battle Pet Slots), may be switched in and out during the battle. Once the match is over, you can always change up your active pet team, which is useful if one of your pets is low on health or dead.