Compile atrules in advance

Cache the regexp & avoid unnecessary wrapper methods