Updates to the WebAPI and RequestBin rules

Based on issues discovered during a code review with Eugenio.