Finally dependency system was implemented as it should be. Restiction on rules, now pattern rules were restricted with static pattern rules.