Add compile rule