'at' (@) rules using class methods.

This should be faster than a bunch of ifs. Also, calculator is passed around.