Filter rule

Hi,

I have created a rule for web filtering such as youtube and facebook in office. Now it blocks these websites for all. I want that some other IPs should have access these websites. So if anyone knows tell me the solution please.

Well, put the IPs you want to bypass the rule in an address list and then create rule with action=accept and source the address list and put this rule above the one you created for block.
But in future, you better post the rule you have created to see how you are approaching it, so the answer can be more accurate.