Each correctly-entered Glyph gains the agent 100 AP. If the entire sequence is correctly entered, the speed bonus will be applied to the AP reward. This AP is independent of the 200 AP reward for hacking an enemy Portal.
There are different types of hay, and the different types have different nutritional values and usages. Alfalfa, red clover, timothy, bermudagrass and tall fescue are all types of hay grown as feed crops for animals from horses to rabbits.
When farmers plant a hay field, the field is harvested before the grains go to seed. This keeps valuable nutrients in the stalks and makes for a much more well-rounded diet for horses and other forms of livestock. Straw, on the other hand, is a byproduct of other types of grain crops.