grok rule simplified
casting fixes