Removed EOF from calc rule