[build] use rule id instead of line id for callables