[build][core][fr] include line id for actions, stricter syntax for rules