Handle input without rules.
Base the bounding rect on exact pattern size, rather than including 1 cell each side, for consistency with existing implementations.